- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newInterface (0.09 sec)
-
src/cmd/compile/internal/types/type.go
func newBasic(kind Kind, obj Object) *Type { t := newType(kind) t.obj = obj return t } // NewInterface returns a new interface for the given methods and // embedded types. Embedded types are specified as fields with no Sym. func NewInterface(methods []*Field) *Type { t := newType(TINTER) t.SetInterface(methods) for _, f := range methods {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)