Documentation ¶
Index ¶
- Variables
- type Booldeprecated
- type ByteSlicedeprecated
- type Float32deprecated
- type Float64deprecated
- type Intdeprecated
- type Int32deprecated
- type Int64deprecated
- type Nulls
- type Stringdeprecated
- type Timedeprecated
- type UInt32deprecated
- type UUIDdeprecated
Constants ¶
This section is empty.
Variables ¶
var NewBool = nulls.NewBool
NewBool returns a new, properly instantiated Bool object.
Deprecated: use github.com/gobuffalo/nulls#NewBool instead.
var NewByteSlice = nulls.NewByteSlice
NewByteSlice returns a new, properly instantiated ByteSlice object.
Deprecated: use github.com/gobuffalo/nulls#NewByteSlice instead.
var NewFloat32 = nulls.NewFloat32
NewFloat32 returns a new, properly instantiated Float32 object.
Deprecated: use github.com/gobuffalo/nulls#NewFloat32 instead.
var NewFloat64 = nulls.NewFloat64
NewFloat64 returns a new, properly instantiated Float64 object.
Deprecated: use github.com/gobuffalo/nulls#NewFloat64 instead.
var NewInt = nulls.NewInt
NewInt returns a new, properly instantiated Int object.
Deprecated: use github.com/gobuffalo/nulls#NewInt instead.
var NewInt32 = nulls.NewInt32
NewInt32 returns a new, properly instantiated Int object.
Deprecated: use github.com/gobuffalo/nulls#NewInt32 instead.
var NewInt64 = nulls.NewInt64
NewInt64 returns a new, properly instantiated Int64 object.
Deprecated: use github.com/gobuffalo/nulls#NewInt64 instead.
var NewString = nulls.NewString
NewString returns a new, properly instantiated String object.
Deprecated: use github.com/gobuffalo/nulls#NewString instead.
var NewTime = nulls.NewTime
NewTime returns a new, properly instantiated Time object.
Deprecated: use github.com/gobuffalo/nulls#NewTime instead.
var NewUInt32 = nulls.NewUInt32
NewUInt32 returns a new, properly instantiated Int object.
Deprecated: use github.com/gobuffalo/nulls#NewUInt32 instead.
var NewUUID = nulls.NewUUID
NewUUID returns a new, properly instantiated UUID object.
Deprecated: use github.com/gobuffalo/nulls#NewUUID instead.
var RegisterWithSchema = nulls.RegisterWithSchema
RegisterWithSchema allows for the nulls package to be used with http://www.gorillatoolkit.org/pkg/schema#Converter
Functions ¶
This section is empty.
Types ¶
type Nulls ¶
type Nulls struct {
Value interface{}
}
Nulls a generic nulls type. something that implements nullable interface. can be any of nulls.Int, nulls.uuid.UUID nulls.String, etc.
func New ¶
func New(i interface{}) *Nulls
New returns a wrapper called nulls for the interface passed as a param.