Documentation
¶
Index ¶
- func ConfigureAcronym(key, val string)
- func Generate(config Config) error
- func IsStructType(t string) bool
- func LoadAllMarshalType(t string) string
- func LoadThunkMarshalType(t string) string
- func LoadThunkMissReturnType(t string) string
- func ToCamel(s string) string
- func ToLowerCamel(s string) string
- func ToRedisKey(t string) string
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAcronym ¶ added in v0.3.1
func ConfigureAcronym(key, val string)
ConfigureAcronym allows you to add additional words which will be considered acronyms
func IsStructType ¶ added in v0.4.4
func LoadAllMarshalType ¶ added in v0.4.7
LoadAllMarshalType returns the code to handle marshaling the given type from a string in LoadAll
func LoadThunkMarshalType ¶ added in v0.4.4
LoadThunkMarshalType returns the code to handle marshaling the given type from a string in LoadThunk
func LoadThunkMissReturnType ¶ added in v0.4.0
LoadThunkMissReturnType returns the default value for the given type
func ToLowerCamel ¶ added in v0.3.1
ToLowerCamel converts a string to lowerCamelCase
func ToRedisKey ¶ added in v0.4.4
ToRedisKey returns the code to convert the given key to a string for use as a redis key
Types ¶
Click to show internal directories.
Click to hide internal directories.