generator

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen() error

func IsLower

func IsLower(c byte) bool

func IsUpper

func IsUpper(c byte) bool

func ToExported

func ToExported(s string) string

func ToLower

func ToLower(c byte) byte

func ToUpper

func ToUpper(c byte) byte

func Underscore

func Underscore(s string) string

Underscore converts "CamelCasedString" to "camel_cased_string".

Types

type ModelTypeNames

type ModelTypeNames struct {
	TypeName     string
	ModelName    string
	ModelComment string
	ModelFields  []string
	FieldComment map[string]string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL