generator

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

BuildSteps that'll used for generation.

Functions

func Generate

func Generate(pattern string, mapping []comments.Converter, config Config) (*jen.File, error)

Generate generates a jen.File containing converters.

Types

type Config

type Config struct {
	Name          string
	ExtendMethods []string
}

Config the generate config.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL