Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/reflectlite/export_test.go

    // unexported struct fields.
    func ToInterface(v Value) (i any) {
    	return valueInterface(v)
    }
    
    type EmbedWithUnexpMeth struct{}
    
    func (EmbedWithUnexpMeth) f() {}
    
    type pinUnexpMeth interface {
    	f()
    }
    
    var pinUnexpMethI = pinUnexpMeth(EmbedWithUnexpMeth{})
    
    func FirstMethodNameBytes(t Type) *byte {
    	_ = pinUnexpMethI
    
    	ut := t.uncommon()
    	if ut == nil {
    		panic("type has no methods")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top