Documentation ¶
Index ¶
- Constants
- func FlagTypeToGoType(s *jen.Statement, parameterType parameters.ParameterType) *jen.Statement
- func FlagValueToJen(p *parameters.ParameterDefinition) (jen.Code, error)
- func LiteralToJen(v reflect.Value) (jen.Code, error)
- func MapToGoCode(v reflect.Value) (string, error)
- func ParameterDefinitionToDict(p *parameters.ParameterDefinition) (jen.Code, error)
- func SliceToGoCode(v reflect.Value) (string, error)
- func StructToGoCode(v reflect.Value) (string, error)
- func StructTypeToJen(typ reflect.Type) (jen.Code, error)
- func StructValueToJen(structName string, s interface{}) (jen.Code, error)
- func ToGoCode(v interface{}) (string, error)
- func TypeToJen(t reflect.Type) (jen.Code, error)
- func ValueToGoCode(v reflect.Value) (string, error)
Constants ¶
View Source
const ClaySqlPath = "github.com/go-go-golems/clay/pkg/sql"
View Source
const GlazedCommandsPath = "github.com/go-go-golems/glazed/pkg/cmds"
View Source
const GlazedMiddlewaresPath = "github.com/go-go-golems/glazed/pkg/middlewares"
View Source
const GlazedParametersPath = "github.com/go-go-golems/glazed/pkg/cmds/parameters"
View Source
const MapsHelpersPath = "github.com/go-go-golems/glazed/pkg/helpers/maps"
Variables ¶
This section is empty.
Functions ¶
func FlagTypeToGoType ¶
func FlagTypeToGoType(s *jen.Statement, parameterType parameters.ParameterType) *jen.Statement
func FlagValueToJen ¶
func FlagValueToJen(p *parameters.ParameterDefinition) (jen.Code, error)
func ParameterDefinitionToDict ¶
func ParameterDefinitionToDict(p *parameters.ParameterDefinition) (jen.Code, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.