Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdGenerate ¶
func NewCmdLDFlags ¶
Types ¶
type GenerateOptions ¶
type GenerateOptions struct { DisableInit bool GeneratedFilePath string GoVersionPackage string GeneratedFilePackageName string GoversionVersion string GeneratedVersionPrivateFields string GeneratedVersionSetFields string }
func (*GenerateOptions) Complete ¶
func (o *GenerateOptions) Complete(cmd *cobra.Command, args []string) error
func (*GenerateOptions) Validate ¶
func (o *GenerateOptions) Validate() error
type LDFlagsOptions ¶
type LDFlagsOptions struct { Version goversion.Info PackageName string PrintLDFlag bool Strict bool }
func (*LDFlagsOptions) Complete ¶
func (o *LDFlagsOptions) Complete(cmd *cobra.Command, args []string) error
func (*LDFlagsOptions) Validate ¶
func (o *LDFlagsOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.