Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeSignature (0.06 sec)

  1. src/cmd/api/main_test.go

    	case *types.Pointer:
    		buf.WriteByte('*')
    		w.writeType(buf, typ.Elem())
    
    	case *types.Tuple:
    		panic("should never see a tuple type")
    
    	case *types.Signature:
    		buf.WriteString("func")
    		w.writeSignature(buf, typ)
    
    	case *types.Interface:
    		buf.WriteString("interface{")
    		if typ.NumMethods() > 0 || typ.NumEmbeddeds() > 0 {
    			buf.WriteByte(' ')
    		}
    		if typ.NumMethods() > 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top