Documentation ¶
Index ¶
- type OptionFormatter
- func (f *OptionFormatter) CanFormat(expr types.Type) bool
- func (f *OptionFormatter) Constructor(fieldName string, _ types.Type) string
- func (f *OptionFormatter) Declaration(fieldName string, expr types.Type) string
- func (f *OptionFormatter) DefaultValue(_ types.Type) string
- func (f *OptionFormatter) Signature(expr types.Type) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionFormatter ¶
type OptionFormatter struct {
format.TypeFormatterBase
}
func (*OptionFormatter) Constructor ¶
func (f *OptionFormatter) Constructor(fieldName string, _ types.Type) string
func (*OptionFormatter) Declaration ¶
func (f *OptionFormatter) Declaration(fieldName string, expr types.Type) string
func (*OptionFormatter) DefaultValue ¶
func (f *OptionFormatter) DefaultValue(_ types.Type) string
Click to show internal directories.
Click to hide internal directories.