type stubs … // NewStubs constructs a printer for writing stub function declarations. func NewStubs(cfg Config) Printer { … } func (s *stubs) Print(f *ir.File) ([]byte, error) { … } func (s *stubs) pragma(p ir.Pragma) { … }
type stubs … // NewStubs constructs a printer for writing stub function declarations. func NewStubs(cfg Config) Printer { … } func (s *stubs) Print(f *ir.File) ([]byte, error) { … } func (s *stubs) pragma(p ir.Pragma) { … }