Documentation
¶
Index ¶
- type Bool
- func (this *Bool) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Bool
- func (this *Bool) Default(value bool) *Bool
- func (this *Bool) EnsureFalse() *Bool
- func (this *Bool) EnsureIn(value ...bool) *Bool
- func (this *Bool) EnsureTrue() *Bool
- func (this *Bool) Float64() *Float64
- func (this *Bool) Int64() *Int64
- func (this *Bool) String() *String
- func (this *Bool) Value() bool
- type Float64
- func (this *Float64) Bool() *Bool
- func (this *Float64) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Float64
- func (this *Float64) Default(value float64) *Float64
- func (this *Float64) EnsureBetween(min float64, max float64) *Float64
- func (this *Float64) EnsureLength(length int) *Float64
- func (this *Float64) EnsureLengthBetween(min int, max int) *Float64
- func (this *Float64) EnsureLengthMax(max int) *Float64
- func (this *Float64) EnsureLengthMin(min int) *Float64
- func (this *Float64) EnsureMax(max float64) *Float64
- func (this *Float64) EnsureMin(min float64) *Float64
- func (this *Float64) Int64() *Int64
- func (this *Float64) String() *String
- func (this *Float64) Value() float64
- type Int64
- func (this *Int64) Bool() *Bool
- func (this *Int64) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Int64
- func (this *Int64) Default(value int64) *Int64
- func (this *Int64) EnsureBetween(min int64, max int64) *Int64
- func (this *Int64) EnsureIn(value ...int64) *Int64
- func (this *Int64) EnsureLength(length int) *Int64
- func (this *Int64) EnsureLengthBetween(min int, max int) *Int64
- func (this *Int64) EnsureLengthMax(max int) *Int64
- func (this *Int64) EnsureLengthMin(min int) *Int64
- func (this *Int64) EnsureMax(max int64) *Int64
- func (this *Int64) EnsureMin(min int64) *Int64
- func (this *Int64) Float64() *Float64
- func (this *Int64) String() *String
- func (this *Int64) Value() int64
- type String
- func (this *String) Bool() *Bool
- func (this *String) CodeMessage(codeMessage *_codeMessage.CodeMessage) *String
- func (this *String) Default(value string) *String
- func (this *String) EnsureEmpty() *String
- func (this *String) EnsureIn(value ...string) *String
- func (this *String) EnsureLength(length int) *String
- func (this *String) EnsureLengthBetween(min int, max int) *String
- func (this *String) EnsureLengthMax(max int) *String
- func (this *String) EnsureLengthMin(min int) *String
- func (this *String) EnsureNotEmpty() *String
- func (this *String) EnsureRegexp(pattern string) *String
- func (this *String) Float64() *Float64
- func (this *String) Int64() *Int64
- func (this *String) Value() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
func (*Bool) CodeMessage ¶
func (this *Bool) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Bool
func (*Bool) EnsureFalse ¶
func (*Bool) EnsureTrue ¶
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
func NewFloat64 ¶
func (*Float64) CodeMessage ¶
func (this *Float64) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Float64
func (*Float64) EnsureBetween ¶
func (*Float64) EnsureLength ¶
func (*Float64) EnsureLengthBetween ¶
func (*Float64) EnsureLengthMax ¶
func (*Float64) EnsureLengthMin ¶
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
func (*Int64) CodeMessage ¶
func (this *Int64) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Int64
func (*Int64) EnsureLength ¶
func (*Int64) EnsureLengthMax ¶
func (*Int64) EnsureLengthMin ¶
type String ¶
type String struct {
// contains filtered or unexported fields
}
func (*String) CodeMessage ¶
func (this *String) CodeMessage(codeMessage *_codeMessage.CodeMessage) *String
func (*String) EnsureEmpty ¶
func (*String) EnsureLength ¶
func (*String) EnsureLengthBetween ¶
func (*String) EnsureLengthMax ¶
func (*String) EnsureLengthMin ¶
func (*String) EnsureNotEmpty ¶
func (*String) EnsureRegexp ¶
Click to show internal directories.
Click to hide internal directories.