Documentation ¶
Index ¶
- func CloneBool(source *bool) *bool
- func CloneDuration(source *time.Duration) *time.Duration
- func CloneFloat64(source *float64) *float64
- func CloneInt(source *int) *int
- func CloneString(source *string) *string
- func CloneStringArray(source *[]string) *[]string
- func CloneTime(source *time.Time) *time.Time
- func DefaultBool(value *bool, defaultValue bool) *bool
- func DefaultDuration(value *time.Duration, defaultValue time.Duration) *time.Duration
- func DefaultFloat64(value *float64, defaultValue float64) *float64
- func DefaultInt(value *int, defaultValue int) *int
- func DefaultString(value *string, defaultValue string) *string
- func DefaultStringArray(value *[]string, defaultValue []string) *[]string
- func DefaultTime(value *time.Time, defaultValue time.Time) *time.Time
- func EqualBool(a *bool, b *bool) bool
- func EqualDuration(a *time.Duration, b *time.Duration) bool
- func EqualFloat64(a *float64, b *float64) bool
- func EqualInt(a *int, b *int) bool
- func EqualString(a *string, b *string) bool
- func EqualStringArray(a *[]string, b *[]string) bool
- func EqualTime(a *time.Time, b *time.Time) bool
- func FromBool(value bool) *bool
- func FromDuration(value time.Duration) *time.Duration
- func FromFloat64(value float64) *float64
- func FromInt(value int) *int
- func FromString(value string) *string
- func FromStringArray(value []string) *[]string
- func FromTime(value time.Time) *time.Time
- func ToBool(ptr *bool) bool
- func ToDuration(ptr *time.Duration) time.Duration
- func ToFloat64(ptr *float64) float64
- func ToInt(ptr *int) int
- func ToString(ptr *string) string
- func ToStringArray(ptr *[]string) []string
- func ToTime(ptr *time.Time) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneFloat64 ¶ added in v1.27.0
func CloneString ¶ added in v1.27.0
func CloneStringArray ¶ added in v1.27.0
func DefaultBool ¶ added in v1.27.0
func DefaultDuration ¶ added in v1.27.0
func DefaultFloat64 ¶ added in v1.27.0
func DefaultInt ¶ added in v1.27.0
func DefaultString ¶ added in v1.27.0
func DefaultStringArray ¶ added in v1.27.0
func DefaultTime ¶ added in v1.27.0
func EqualFloat64 ¶ added in v1.30.0
func EqualString ¶ added in v1.30.0
func EqualStringArray ¶ added in v1.30.0
func FromFloat64 ¶ added in v1.27.0
func FromString ¶ added in v1.27.0
func FromStringArray ¶ added in v1.27.0
func ToStringArray ¶ added in v1.27.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.