type Shlib … type Link … type cgodata … func (ctxt *Link) Logf(format string, args ...interface{ … } func addImports(ctxt *Link, l *sym.Library, pn string) { … } // Allocate a new version (i.e. symbol namespace). func (ctxt *Link) IncVersion() int { … } // returns the maximum version number func (ctxt *Link) MaxVersion() int { … } type generatorFunc … // createGeneratorSymbol is a convenience method for creating a generator // symbol. func (ctxt *Link) createGeneratorSymbol(name string, version int, t sym.SymKind, size int64, gen generatorFunc) loader.Sym { … }