Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(genericArgs *args.GeneratorArgs) error
Validate checks the given arguments.
Types ¶
type AnnotationArgs ¶
type AnnotationArgs struct { // tag prefix for an annotation AnnotationPrefix string }
AnnotationArgs is args for annotation-gen tool
func NewDefaults ¶
func NewDefaults() (*args.GeneratorArgs, *AnnotationArgs)
NewDefaults returns default arguments for the generator.
func (*AnnotationArgs) AddFlags ¶
func (ca *AnnotationArgs) AddFlags(fs *pflag.FlagSet)
AddFlags add the generator flags to the flag set.
Click to show internal directories.
Click to hide internal directories.