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) Int() *Int
- 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) Int() *Int
- func (this *Float64) String() *String
- func (this *Float64) Value() float64
- type Int
- func (this *Int) Bool() *Bool
- func (this *Int) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Int
- func (this *Int) Default(value int) *Int
- func (this *Int) EnsureBetween(min int, max int) *Int
- func (this *Int) EnsureIn(value ...int) *Int
- func (this *Int) EnsureLength(length int) *Int
- func (this *Int) EnsureLengthBetween(min int, max int) *Int
- func (this *Int) EnsureLengthMax(max int) *Int
- func (this *Int) EnsureLengthMin(min int) *Int
- func (this *Int) EnsureMax(max int) *Int
- func (this *Int) EnsureMin(min int) *Int
- func (this *Int) Float64() *Float64
- func (this *Int) String() *String
- func (this *Int) Value() int
- 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) Int() *Int
- 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 Int ¶
type Int struct {
// contains filtered or unexported fields
}
func (*Int) CodeMessage ¶
func (this *Int) CodeMessage(codeMessage *_codeMessage.CodeMessage) *Int
func (*Int) EnsureLength ¶
func (*Int) EnsureLengthMax ¶
func (*Int) 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.