Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for emitIfaceType (0.2 sec)

  1. src/cmd/api/main_test.go

    		name = buf.String()
    	}
    	switch typ := typ.Underlying().(type) {
    	case *types.Struct:
    		w.emitStructType(name, typ)
    	case *types.Interface:
    		w.emitIfaceType(name, typ)
    		return // methods are handled by emitIfaceType
    	default:
    		w.emitf("type %s %s", name, w.typeString(typ.Underlying()))
    	}
    
    	// emit methods with value receiver
    	var methodNames map[string]bool
    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