Versions in this module Expand all Collapse all v1 v1.0.0 Dec 14, 2018 Changes in this version + func IsTypeNotFound(err error) bool + func Parse(r io.Reader, tp string) (string, *ast.TypeSpec, error) + type Generator struct + func NewGenerator(pkgName string, ts *ast.TypeSpec) *Generator + func (g *Generator) AppendCheckFunction(withCause bool) error + func (g *Generator) AppendErrorImplementation(typename, message string) error + func (g *Generator) AppendPackage() + func (g *Generator) AppendPkgErrorImportSpec() + func (g *Generator) Generate() error + func (g *Generator) Out(w io.Writer) error + type TypeNotFound struct + func (e *TypeNotFound) Error() string + func (e *TypeNotFound) TypeNotFound()