Documentation ¶
Index ¶
- type Generator
- func (g *Generator) ByteArrayValue(b []byte)
- func (g *Generator) CodeGenerationWarning(by string)
- func (g *Generator) CodeGenerationWarningSelf()
- func (g *Generator) Comment(lines ...string)
- func (g *Generator) Commentf(format string, args ...interface{})
- func (g *Generator) EnterBlock()
- func (g *Generator) Formatted() ([]byte, error)
- func (g *Generator) Function(name string, s *types.Signature)
- func (g *Generator) Import(pkgs ...string)
- func (g *Generator) LeaveBlock()
- func (g *Generator) Package(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
func NewGenerator ¶
func NewGenerator() Generator
func (*Generator) ByteArrayValue ¶
func (*Generator) CodeGenerationWarning ¶
func (*Generator) CodeGenerationWarningSelf ¶
func (g *Generator) CodeGenerationWarningSelf()
func (*Generator) EnterBlock ¶
func (g *Generator) EnterBlock()
func (*Generator) LeaveBlock ¶
func (g *Generator) LeaveBlock()
Click to show internal directories.
Click to hide internal directories.