// importfunc declares symbol s as an imported function with type t. func importfunc(s *types.Sym, t *types.Type) { … } // importvar declares symbol s as an imported variable with type t. func importvar(s *types.Sym, t *types.Type) { … } func importsym(name *ir.Name) { … }