Documentation ¶
Index ¶
- type CategorizedParameterFields
- type Command
- func (c *Command) CLICommandGeneratedSourceFile() string
- func (c *Command) CLICommandParameterTypeName() string
- func (c *Command) CLIFlagCleanupEmptyStatement(parameterVariableName, flagSetVariableName string) string
- func (c *Command) CLIFlagDefinitionStatements(parameterVariableName, flagSetVariableName string) string
- func (c *Command) CLIFlagInitializePointerStatement(parameterVariableName, flagSetVariableName string) string
- func (c *Command) CLIName() string
- func (c *Command) CLIVariableFuncName() string
- func (c *Command) CategorizedParameterFields() []*CategorizedParameterFields
- func (c *Command) Fields() []Field
- func (c *Command) HasAliases() bool
- func (c *Command) InputParameterTypeName() string
- func (c *Command) InputParameterVariable() string
- func (c *Command) PackageDirName() string
- func (c *Command) ServiceFuncName() string
- func (c *Command) ServiceFuncReturnValueType() *ServiceFuncMeta
- func (c *Command) ServiceRequestTypeName() string
- type Field
- type GenerateContext
- type Resource
- type ServiceFuncMeta
- type ServiceMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategorizedParameterFields ¶ added in v1.0.0
type Command ¶ added in v1.0.0
func (*Command) CLICommandGeneratedSourceFile ¶ added in v1.0.0
func (*Command) CLICommandParameterTypeName ¶ added in v1.0.0
func (*Command) CLIFlagCleanupEmptyStatement ¶ added in v1.0.0
func (*Command) CLIFlagDefinitionStatements ¶ added in v1.0.0
func (*Command) CLIFlagInitializePointerStatement ¶ added in v1.0.0
func (*Command) CLIVariableFuncName ¶ added in v1.0.0
func (*Command) CategorizedParameterFields ¶ added in v1.0.0
func (c *Command) CategorizedParameterFields() []*CategorizedParameterFields
func (*Command) HasAliases ¶ added in v1.0.0
func (*Command) InputParameterTypeName ¶ added in v1.0.0
func (*Command) InputParameterVariable ¶ added in v1.0.0
func (*Command) PackageDirName ¶ added in v1.0.0
func (*Command) ServiceFuncName ¶ added in v1.0.0
func (*Command) ServiceFuncReturnValueType ¶ added in v1.0.0
func (c *Command) ServiceFuncReturnValueType() *ServiceFuncMeta
func (*Command) ServiceRequestTypeName ¶ added in v1.0.0
type Field ¶ added in v1.0.0
type Field struct { clitag.StructField Required bool }
func (Field) LongDescription ¶ added in v1.0.0
LongDescription DescriptionにAliasesとOptionsを連結して返す
type GenerateContext ¶
type GenerateContext struct {
Resources []*Resource
}
func NewGenerateContext ¶
func NewGenerateContext() *GenerateContext
func (*GenerateContext) Copyright ¶ added in v1.0.0
func (c *GenerateContext) Copyright() string
func (*GenerateContext) Gopath ¶
func (c *GenerateContext) Gopath() string
type Resource ¶ added in v1.0.0
func NewResource ¶ added in v1.0.0
func NewResources ¶ added in v1.0.0
func (*Resource) CLIVariableFuncName ¶ added in v1.0.0
func (*Resource) PackageDirName ¶ added in v1.0.0
func (*Resource) ServiceMeta ¶ added in v1.0.0
func (r *Resource) ServiceMeta() *ServiceMeta
func (*Resource) ServiceSourceFileName ¶ added in v1.0.0
type ServiceFuncMeta ¶ added in v1.0.0
type ServiceMeta ¶ added in v1.0.0
type ServiceMeta struct {
HasFindMethod bool
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.