{"modulePath":"github.com/volatiletech/null","version":"v8.0.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package null\n\n## Variables\n\n```go\nvar NullBytes = []byte(\"null\")\n```\nNullBytes is a global byte slice of JSON null\n\n## Types\n\n```go\ntype Bool struct {\n\tBool  bool\n\tValid bool\n}\n```\nBool is a nullable bool.\n\n```go\nfunc BoolFrom(b bool) Bool\n```\nBoolFrom creates a new Bool that will always be valid.\n\n```go\nfunc BoolFromPtr(b *bool) Bool\n```\nBoolFromPtr creates a new Bool that will be null if f is nil.\n\n```go\nfunc NewBool(b bool, valid bool) Bool\n```\nNewBool creates a new Bool\n\n```go\nfunc (b Bool) IsZero() bool\n```\nIsZero returns true for invalid Bools, for future omitempty support (Go 1.4?)\n\n```go\nfunc (b Bool) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (b Bool) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (b Bool) Ptr() *bool\n```\nPtr returns a pointer to this Bool's value, or a nil pointer if this Bool is null.\n\n```go\nfunc (b *Bool) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (b *Bool) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (b *Bool) SetValid(v bool)\n```\nSetValid changes this Bool's value and also sets it to be non-null.\n\n```go\nfunc (b *Bool) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (b *Bool) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (b Bool) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Byte struct {\n\tByte  byte\n\tValid bool\n}\n```\nByte is an nullable int.\n\n```go\nfunc ByteFrom(b byte) Byte\n```\nByteFrom creates a new Byte that will always be valid.\n\n```go\nfunc ByteFromPtr(b *byte) Byte\n```\nByteFromPtr creates a new Byte that be null if i is nil.\n\n```go\nfunc NewByte(b byte, valid bool) Byte\n```\nNewByte creates a new Byte\n\n```go\nfunc (b Byte) IsZero() bool\n```\nIsZero returns true for invalid Bytes, for future omitempty support (Go 1.4?)\n\n```go\nfunc (b Byte) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (b Byte) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (b Byte) Ptr() *byte\n```\nPtr returns a pointer to this Byte's value, or a nil pointer if this Byte is null.\n\n```go\nfunc (b *Byte) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (b *Byte) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (b *Byte) SetValid(n byte)\n```\nSetValid changes this Byte's value and also sets it to be non-null.\n\n```go\nfunc (b *Byte) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (b *Byte) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (b Byte) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Bytes struct {\n\tBytes []byte\n\tValid bool\n}\n```\nBytes is a nullable \\[]byte.\n\n```go\nfunc BytesFrom(b []byte) Bytes\n```\nBytesFrom creates a new Bytes that will be invalid if nil.\n\n```go\nfunc BytesFromPtr(b *[]byte) Bytes\n```\nBytesFromPtr creates a new Bytes that will be invalid if nil.\n\n```go\nfunc NewBytes(b []byte, valid bool) Bytes\n```\nNewBytes creates a new Bytes\n\n```go\nfunc (b Bytes) IsZero() bool\n```\nIsZero returns true for null or zero Bytes's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (b Bytes) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (b Bytes) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (b Bytes) Ptr() *[]byte\n```\nPtr returns a pointer to this Bytes's value, or a nil pointer if this Bytes is null.\n\n```go\nfunc (b *Bytes) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (b *Bytes) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (b *Bytes) SetValid(n []byte)\n```\nSetValid changes this Bytes's value and also sets it to be non-null.\n\n```go\nfunc (b *Bytes) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (b *Bytes) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (b Bytes) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Float32 struct {\n\tFloat32 float32\n\tValid   bool\n}\n```\nFloat32 is a nullable float32.\n\n```go\nfunc Float32From(f float32) Float32\n```\nFloat32From creates a new Float32 that will always be valid.\n\n```go\nfunc Float32FromPtr(f *float32) Float32\n```\nFloat32FromPtr creates a new Float32 that be null if f is nil.\n\n```go\nfunc NewFloat32(f float32, valid bool) Float32\n```\nNewFloat32 creates a new Float32\n\n```go\nfunc (f Float32) IsZero() bool\n```\nIsZero returns true for invalid Float32s, for future omitempty support (Go 1.4?)\n\n```go\nfunc (f Float32) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (f Float32) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (f Float32) Ptr() *float32\n```\nPtr returns a pointer to this Float32's value, or a nil pointer if this Float32 is null.\n\n```go\nfunc (f *Float32) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (f *Float32) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (f *Float32) SetValid(n float32)\n```\nSetValid changes this Float32's value and also sets it to be non-null.\n\n```go\nfunc (f *Float32) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (f *Float32) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (f Float32) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Float64 struct {\n\tFloat64 float64\n\tValid   bool\n}\n```\nFloat64 is a nullable float64.\n\n```go\nfunc Float64From(f float64) Float64\n```\nFloat64From creates a new Float64 that will always be valid.\n\n```go\nfunc Float64FromPtr(f *float64) Float64\n```\nFloat64FromPtr creates a new Float64 that be null if f is nil.\n\n```go\nfunc NewFloat64(f float64, valid bool) Float64\n```\nNewFloat64 creates a new Float64\n\n```go\nfunc (f Float64) IsZero() bool\n```\nIsZero returns true for invalid Float64s, for future omitempty support (Go 1.4?)\n\n```go\nfunc (f Float64) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (f Float64) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (f Float64) Ptr() *float64\n```\nPtr returns a pointer to this Float64's value, or a nil pointer if this Float64 is null.\n\n```go\nfunc (f *Float64) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (f *Float64) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (f *Float64) SetValid(n float64)\n```\nSetValid changes this Float64's value and also sets it to be non-null.\n\n```go\nfunc (f *Float64) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (f *Float64) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (f Float64) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Int struct {\n\tInt   int\n\tValid bool\n}\n```\nInt is an nullable int.\n\n```go\nfunc IntFrom(i int) Int\n```\nIntFrom creates a new Int that will always be valid.\n\n```go\nfunc IntFromPtr(i *int) Int\n```\nIntFromPtr creates a new Int that be null if i is nil.\n\n```go\nfunc NewInt(i int, valid bool) Int\n```\nNewInt creates a new Int\n\n```go\nfunc (i Int) IsZero() bool\n```\nIsZero returns true for invalid Ints, for future omitempty support (Go 1.4?)\n\n```go\nfunc (i Int) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (i Int) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (i Int) Ptr() *int\n```\nPtr returns a pointer to this Int's value, or a nil pointer if this Int is null.\n\n```go\nfunc (i *Int) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (i *Int) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (i *Int) SetValid(n int)\n```\nSetValid changes this Int's value and also sets it to be non-null.\n\n```go\nfunc (i *Int) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (i *Int) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (i Int) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Int16 struct {\n\tInt16 int16\n\tValid bool\n}\n```\nInt16 is an nullable int16.\n\n```go\nfunc Int16From(i int16) Int16\n```\nInt16From creates a new Int16 that will always be valid.\n\n```go\nfunc Int16FromPtr(i *int16) Int16\n```\nInt16FromPtr creates a new Int16 that be null if i is nil.\n\n```go\nfunc NewInt16(i int16, valid bool) Int16\n```\nNewInt16 creates a new Int16\n\n```go\nfunc (i Int16) IsZero() bool\n```\nIsZero returns true for invalid Int16's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (i Int16) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (i Int16) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (i Int16) Ptr() *int16\n```\nPtr returns a pointer to this Int16's value, or a nil pointer if this Int16 is null.\n\n```go\nfunc (i *Int16) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (i *Int16) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (i *Int16) SetValid(n int16)\n```\nSetValid changes this Int16's value and also sets it to be non-null.\n\n```go\nfunc (i *Int16) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (i *Int16) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (i Int16) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Int32 struct {\n\tInt32 int32\n\tValid bool\n}\n```\nInt32 is an nullable int32.\n\n```go\nfunc Int32From(i int32) Int32\n```\nInt32From creates a new Int32 that will always be valid.\n\n```go\nfunc Int32FromPtr(i *int32) Int32\n```\nInt32FromPtr creates a new Int32 that be null if i is nil.\n\n```go\nfunc NewInt32(i int32, valid bool) Int32\n```\nNewInt32 creates a new Int32\n\n```go\nfunc (i Int32) IsZero() bool\n```\nIsZero returns true for invalid Int32's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (i Int32) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (i Int32) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (i Int32) Ptr() *int32\n```\nPtr returns a pointer to this Int32's value, or a nil pointer if this Int32 is null.\n\n```go\nfunc (i *Int32) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (i *Int32) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (i *Int32) SetValid(n int32)\n```\nSetValid changes this Int32's value and also sets it to be non-null.\n\n```go\nfunc (i *Int32) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (i *Int32) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (i Int32) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Int64 struct {\n\tInt64 int64\n\tValid bool\n}\n```\nInt64 is an nullable int64.\n\n```go\nfunc Int64From(i int64) Int64\n```\nInt64From creates a new Int64 that will always be valid.\n\n```go\nfunc Int64FromPtr(i *int64) Int64\n```\nInt64FromPtr creates a new Int64 that be null if i is nil.\n\n```go\nfunc NewInt64(i int64, valid bool) Int64\n```\nNewInt64 creates a new Int64\n\n```go\nfunc (i Int64) IsZero() bool\n```\nIsZero returns true for invalid Int64's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (i Int64) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (i Int64) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (i Int64) Ptr() *int64\n```\nPtr returns a pointer to this Int64's value, or a nil pointer if this Int64 is null.\n\n```go\nfunc (i *Int64) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (i *Int64) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (i *Int64) SetValid(n int64)\n```\nSetValid changes this Int64's value and also sets it to be non-null.\n\n```go\nfunc (i *Int64) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (i *Int64) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (i Int64) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Int8 struct {\n\tInt8  int8\n\tValid bool\n}\n```\nInt8 is an nullable int8.\n\n```go\nfunc Int8From(i int8) Int8\n```\nInt8From creates a new Int8 that will always be valid.\n\n```go\nfunc Int8FromPtr(i *int8) Int8\n```\nInt8FromPtr creates a new Int8 that be null if i is nil.\n\n```go\nfunc NewInt8(i int8, valid bool) Int8\n```\nNewInt8 creates a new Int8\n\n```go\nfunc (i Int8) IsZero() bool\n```\nIsZero returns true for invalid Int8's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (i Int8) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (i Int8) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (i Int8) Ptr() *int8\n```\nPtr returns a pointer to this Int8's value, or a nil pointer if this Int8 is null.\n\n```go\nfunc (i *Int8) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (i *Int8) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (i *Int8) SetValid(n int8)\n```\nSetValid changes this Int8's value and also sets it to be non-null.\n\n```go\nfunc (i *Int8) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (i *Int8) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (i Int8) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype JSON struct {\n\tJSON  []byte\n\tValid bool\n}\n```\nJSON is a nullable \\[]byte.\n\n```go\nfunc JSONFrom(b []byte) JSON\n```\nJSONFrom creates a new JSON that will be invalid if nil.\n\n```go\nfunc JSONFromPtr(b *[]byte) JSON\n```\nJSONFromPtr creates a new JSON that will be invalid if nil.\n\n```go\nfunc NewJSON(b []byte, valid bool) JSON\n```\nNewJSON creates a new JSON\n\n```go\nfunc (j JSON) IsZero() bool\n```\nIsZero returns true for null or zero JSON's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (j *JSON) Marshal(obj interface{}) error\n```\nMarshal will marshal the passed in object, and store it in the JSON member on the JSON object.\n\n```go\nfunc (j JSON) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (j JSON) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (j JSON) Ptr() *[]byte\n```\nPtr returns a pointer to this JSON's value, or a nil pointer if this JSON is null.\n\n```go\nfunc (j *JSON) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (j *JSON) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (j *JSON) SetValid(n []byte)\n```\nSetValid changes this JSON's value and also sets it to be non-null.\n\n```go\nfunc (j JSON) Unmarshal(dest interface{}) error\n```\nUnmarshal will unmarshal your JSON stored in your JSON object and store the result in the value pointed to by dest.\n\n```go\nfunc (j *JSON) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (j *JSON) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (j JSON) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype String struct {\n\tString string\n\tValid  bool\n}\n```\nString is a nullable string. It supports SQL and JSON serialization.\n\n```go\nfunc NewString(s string, valid bool) String\n```\nNewString creates a new String\n\n```go\nfunc StringFrom(s string) String\n```\nStringFrom creates a new String that will never be blank.\n\n```go\nfunc StringFromPtr(s *string) String\n```\nStringFromPtr creates a new String that be null if s is nil.\n\n```go\nfunc (s String) IsZero() bool\n```\nIsZero returns true for null strings, for potential future omitempty support.\n\n```go\nfunc (s String) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (s String) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (s String) Ptr() *string\n```\nPtr returns a pointer to this String's value, or a nil pointer if this String is null.\n\n```go\nfunc (s *String) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (s *String) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (s *String) SetValid(v string)\n```\nSetValid changes this String's value and also sets it to be non-null.\n\n```go\nfunc (s *String) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (s *String) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (s String) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Time struct {\n\tTime  time.Time\n\tValid bool\n}\n```\nTime is a nullable time.Time. It supports SQL and JSON serialization.\n\n```go\nfunc NewTime(t time.Time, valid bool) Time\n```\nNewTime creates a new Time.\n\n```go\nfunc TimeFrom(t time.Time) Time\n```\nTimeFrom creates a new Time that will always be valid.\n\n```go\nfunc TimeFromPtr(t *time.Time) Time\n```\nTimeFromPtr creates a new Time that will be null if t is nil.\n\n```go\nfunc (t Time) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (t Time) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (t Time) Ptr() *time.Time\n```\nPtr returns a pointer to this Time's value, or a nil pointer if this Time is null.\n\n```go\nfunc (t *Time) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (t *Time) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (t *Time) SetValid(v time.Time)\n```\nSetValid changes this Time's value and sets it to be non-null.\n\n```go\nfunc (t *Time) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (t *Time) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (t Time) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Uint struct {\n\tUint  uint\n\tValid bool\n}\n```\nUint is an nullable uint.\n\n```go\nfunc NewUint(i uint, valid bool) Uint\n```\nNewUint creates a new Uint\n\n```go\nfunc UintFrom(i uint) Uint\n```\nUintFrom creates a new Uint that will always be valid.\n\n```go\nfunc UintFromPtr(i *uint) Uint\n```\nUintFromPtr creates a new Uint that be null if i is nil.\n\n```go\nfunc (u Uint) IsZero() bool\n```\nIsZero returns true for invalid Uints, for future omitempty support (Go 1.4?)\n\n```go\nfunc (u Uint) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (u Uint) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (u Uint) Ptr() *uint\n```\nPtr returns a pointer to this Uint's value, or a nil pointer if this Uint is null.\n\n```go\nfunc (u *Uint) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (u *Uint) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (u *Uint) SetValid(n uint)\n```\nSetValid changes this Uint's value and also sets it to be non-null.\n\n```go\nfunc (u *Uint) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (u *Uint) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (u Uint) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Uint16 struct {\n\tUint16 uint16\n\tValid  bool\n}\n```\nUint16 is an nullable uint16.\n\n```go\nfunc NewUint16(i uint16, valid bool) Uint16\n```\nNewUint16 creates a new Uint16\n\n```go\nfunc Uint16From(i uint16) Uint16\n```\nUint16From creates a new Uint16 that will always be valid.\n\n```go\nfunc Uint16FromPtr(i *uint16) Uint16\n```\nUint16FromPtr creates a new Uint16 that be null if i is nil.\n\n```go\nfunc (u Uint16) IsZero() bool\n```\nIsZero returns true for invalid Uint16's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (u Uint16) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (u Uint16) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (u Uint16) Ptr() *uint16\n```\nPtr returns a pointer to this Uint16's value, or a nil pointer if this Uint16 is null.\n\n```go\nfunc (u *Uint16) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (u *Uint16) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (u *Uint16) SetValid(n uint16)\n```\nSetValid changes this Uint16's value and also sets it to be non-null.\n\n```go\nfunc (u *Uint16) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (u *Uint16) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (u Uint16) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Uint32 struct {\n\tUint32 uint32\n\tValid  bool\n}\n```\nUint32 is an nullable uint32.\n\n```go\nfunc NewUint32(i uint32, valid bool) Uint32\n```\nNewUint32 creates a new Uint32\n\n```go\nfunc Uint32From(i uint32) Uint32\n```\nUint32From creates a new Uint32 that will always be valid.\n\n```go\nfunc Uint32FromPtr(i *uint32) Uint32\n```\nUint32FromPtr creates a new Uint32 that be null if i is nil.\n\n```go\nfunc (u Uint32) IsZero() bool\n```\nIsZero returns true for invalid Uint32's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (u Uint32) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (u Uint32) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (u Uint32) Ptr() *uint32\n```\nPtr returns a pointer to this Uint32's value, or a nil pointer if this Uint32 is null.\n\n```go\nfunc (u *Uint32) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (u *Uint32) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (u *Uint32) SetValid(n uint32)\n```\nSetValid changes this Uint32's value and also sets it to be non-null.\n\n```go\nfunc (u *Uint32) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (u *Uint32) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (u Uint32) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Uint64 struct {\n\tUint64 uint64\n\tValid  bool\n}\n```\nUint64 is an nullable uint64.\n\n```go\nfunc NewUint64(i uint64, valid bool) Uint64\n```\nNewUint64 creates a new Uint64\n\n```go\nfunc Uint64From(i uint64) Uint64\n```\nUint64From creates a new Uint64 that will always be valid.\n\n```go\nfunc Uint64FromPtr(i *uint64) Uint64\n```\nUint64FromPtr creates a new Uint64 that be null if i is nil.\n\n```go\nfunc (u Uint64) IsZero() bool\n```\nIsZero returns true for invalid Uint64's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (u Uint64) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (u Uint64) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (u Uint64) Ptr() *uint64\n```\nPtr returns a pointer to this Uint64's value, or a nil pointer if this Uint64 is null.\n\n```go\nfunc (u *Uint64) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (u *Uint64) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (u *Uint64) SetValid(n uint64)\n```\nSetValid changes this Uint64's value and also sets it to be non-null.\n\n```go\nfunc (u *Uint64) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (u *Uint64) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (u Uint64) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n```go\ntype Uint8 struct {\n\tUint8 uint8\n\tValid bool\n}\n```\nUint8 is an nullable uint8.\n\n```go\nfunc NewUint8(i uint8, valid bool) Uint8\n```\nNewUint8 creates a new Uint8\n\n```go\nfunc Uint8From(i uint8) Uint8\n```\nUint8From creates a new Uint8 that will always be valid.\n\n```go\nfunc Uint8FromPtr(i *uint8) Uint8\n```\nUint8FromPtr creates a new Uint8 that be null if i is nil.\n\n```go\nfunc (u Uint8) IsZero() bool\n```\nIsZero returns true for invalid Uint8's, for future omitempty support (Go 1.4?)\n\n```go\nfunc (u Uint8) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements json.Marshaler.\n\n```go\nfunc (u Uint8) MarshalText() ([]byte, error)\n```\nMarshalText implements encoding.TextMarshaler.\n\n```go\nfunc (u Uint8) Ptr() *uint8\n```\nPtr returns a pointer to this Uint8's value, or a nil pointer if this Uint8 is null.\n\n```go\nfunc (u *Uint8) Randomize(nextInt func() int64, fieldType string, shouldBeNull bool)\n```\nRandomize for sqlboiler\n\n```go\nfunc (u *Uint8) Scan(value interface{}) error\n```\nScan implements the Scanner interface.\n\n```go\nfunc (u *Uint8) SetValid(n uint8)\n```\nSetValid changes this Uint8's value and also sets it to be non-null.\n\n```go\nfunc (u *Uint8) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON implements json.Unmarshaler.\n\n```go\nfunc (u *Uint8) UnmarshalText(text []byte) error\n```\nUnmarshalText implements encoding.TextUnmarshaler.\n\n```go\nfunc (u Uint8) Value() (driver.Value, error)\n```\nValue implements the driver Valuer interface.\n\n","path":"github.com/volatiletech/null","name":"null","synopsis":"","isRedistributable":true}
