Documentation ¶
Index ¶
- Constants
- Variables
- func Array(items []Jsonable) *arrayField
- func Bool(value bool) *boolField
- func Float(value float32) *floatField
- func Float64(value float64) *float64Field
- func Int(value int) *intField
- func Int64(value int64) *int64Field
- func Null() *null
- func Object(values map[string]Jsonable) *objectField
- func PureString(value string) *pureStringField
- func Static(cfg *config.StaticGeneratedFieldConfig) *static
- func String(value string, trim ...bool) *stringField
- type Jsonable
Constants ¶
View Source
const (
EmptyString = `""`
)
Variables ¶
View Source
var ( EMPTY = PureString("") NullValue = Null() )
Functions ¶
func PureString ¶
func PureString(value string) *pureStringField
func Static ¶
func Static(cfg *config.StaticGeneratedFieldConfig) *static
Types ¶
Click to show internal directories.
Click to hide internal directories.