Documentation ¶
Index ¶
- func ComponentName(api *spec.ApiSpec) string
- func Copy(src, dst string) (int64, error)
- func IsLowerCase(r rune) bool
- func IsUpperCase(r rune) bool
- func LowerFirst(s string) string
- func MaybeCreateFile(dir, subdir, file string) (fp *os.File, created bool, err error)
- func RemoveComment(line string) string
- func TagLookup(tag, key string) (value string, ok bool)
- func ToCamelCase(s string) string
- func ToLower(s string) string
- func ToLowerCase(r rune) rune
- func ToSnakeCase(s string) string
- func ToUpper(s string) string
- func ToUpperCase(r rune) rune
- func UnExport(text string) bool
- func UpperFirst(s string) string
- func WrapErr(err error, message string) error
- func WriteIndent(writer io.Writer, indent int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComponentName ¶
func IsLowerCase ¶
func IsUpperCase ¶
func LowerFirst ¶
func MaybeCreateFile ¶
func RemoveComment ¶
func ToCamelCase ¶
func ToLowerCase ¶
func ToSnakeCase ¶
func ToUpperCase ¶
func UpperFirst ¶
func WriteIndent ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.