Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type String ¶
type String string
String acts as a builtin string but provides useful casing methods.
func (String) CamelCase ¶
CamelCase transforms strings into camelCase casing. It is often used for json mappings.
func (String) GoCase ¶
GoCase transforms strings into Go-style casing, meaning uppercase including Go casing edge cases.
func (String) GoLowerCase ¶
GoLowerCase transforms strings into Go-style lowercase casing. It is like GoCase but used for private fields.
func (String) PrismaGoCase ¶
PrismaGoCase transforms `relevance` into `Relevance_`
func (String) PrismaInternalCase ¶
PrismaInternalCase transforms `relevance` into `_relevance`
type Type ¶
type Type string
Type acts as a builtin string but provides useful methods for type DMMF values.
func (Type) CamelCase ¶
CamelCase transforms strings into camelCase casing. It is often used for json mappings.
func (Type) GoCase ¶
GoCase transforms strings into Go-style lowercase casing. It is like GoCase but used for private fields.
func (Type) GoLowerCase ¶
GoLowerCase transforms strings into Go-style lowercase casing. It is like GoCase but used for private fields.