Documentation ¶
Overview ¶
Code generated by "generr"; DO NOT EDIT.
Code generated by "generr"; DO NOT EDIT.
Index ¶
- func IsNotStructType(err error) (bool, string)
- func IsTypeNotFoundWithGivenName(err error) (bool, string)
- func Parse(r io.Reader, typename string) (string, *ast.TypeSpec, error)
- type Generator
- func (g *Generator) AppendDefaultFactory(methodname, outputtypename string) error
- func (g *Generator) AppendFunctionalOptionType(methodname, outputtypename string) error
- func (g *Generator) AppendFunctionalOptions() error
- func (g *Generator) AppendPackage()
- func (g *Generator) Generate() error
- func (g *Generator) Out(w io.Writer) error
- type NotStructType
- type TypeNotFoundWithGivenName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotStructType ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func (*Generator) AppendDefaultFactory ¶
func (*Generator) AppendFunctionalOptionType ¶
func (*Generator) AppendFunctionalOptions ¶
func (*Generator) AppendPackage ¶
func (g *Generator) AppendPackage()
type NotStructType ¶
type NotStructType struct {
Typename string
}
func (*NotStructType) Error ¶
func (e *NotStructType) Error() string
func (*NotStructType) NotStructType ¶
func (e *NotStructType) NotStructType() string
type TypeNotFoundWithGivenName ¶
type TypeNotFoundWithGivenName struct {
Name string
}
func (*TypeNotFoundWithGivenName) Error ¶
func (e *TypeNotFoundWithGivenName) Error() string
func (*TypeNotFoundWithGivenName) TypeNotFoundWithGivenName ¶
func (e *TypeNotFoundWithGivenName) TypeNotFoundWithGivenName() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.