- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsAlias (0.05 sec)
-
src/cmd/api/main_test.go
} } func (w *Walker) emitType(obj *types.TypeName) { name := obj.Name() if w.isDeprecated(obj) { w.emitf("type %s //deprecated", name) } typ := obj.Type() if obj.IsAlias() { w.emitf("type %s = %s", name, w.typeString(typ)) return } if tparams := obj.Type().(*types.Named).TypeParams(); tparams != nil { var buf bytes.Buffer buf.WriteString(name)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0)