Documentation
¶
Index ¶
- func FirstUpper(s string) string
- type Destination
- type Generator
- func (g *Generator) Errorf(format string, a ...any)
- func (g *Generator) Fatalf(format string, a ...any)
- func (g *Generator) Infof(format string, a ...any)
- func (g *Generator) NewGoFileDestination(filename string) Destination
- func (g *Generator) NewUnformattedFileDestination(filename string) Destination
- func (g *Generator) Warnf(format string, a ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstUpper ¶
FirstUpper returns a string with the first character as upper case.
Types ¶
type Destination ¶
type Generator ¶
type Generator struct{}
func NewGenerator ¶
func NewGenerator() *Generator
func (*Generator) NewGoFileDestination ¶
func (g *Generator) NewGoFileDestination(filename string) Destination
func (*Generator) NewUnformattedFileDestination ¶
func (g *Generator) NewUnformattedFileDestination(filename string) Destination
Click to show internal directories.
Click to hide internal directories.