- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for emitType (0.04 sec)
-
src/cmd/api/main_test.go
w.emitf("var %s //deprecated", obj.Name()) } w.emitf("var %s %s", obj.Name(), w.typeString(obj.Type())) case *types.TypeName: w.emitType(obj) case *types.Func: w.emitFunc(obj) default: panic("unknown object: " + obj.String()) } } func (w *Walker) emitType(obj *types.TypeName) { name := obj.Name() if w.isDeprecated(obj) { w.emitf("type %s //deprecated", name) } typ := obj.Type()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0)