Documentation ¶
Index ¶
- func As[T any](err error) (T, bool)
- func Bool(value bool) *bool
- func BoolValue(value *bool) bool
- func ConvertInt[R Integer](value any) R
- func Equals(v1, v2 string) bool
- func Getenv(key, default_ string) string
- func Int[T Integer, R Integer](value T) *R
- func IntValue[T Integer, R Integer](value *T) R
- func IsMock() bool
- func IsServiceMock(serviceName ServiceName) bool
- func String(value string) *string
- func StringValue(value *string) string
- func Time(val time.Time) *time.Time
- func ToTime(v string) *time.Time
- func ToTimeFormat(t time.Time) string
- type Integer
- type ServiceName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertInt ¶
func IsServiceMock ¶
func IsServiceMock(serviceName ServiceName) bool
func StringValue ¶
func ToTimeFormat ¶
Types ¶
type ServiceName ¶
type ServiceName string
Click to show internal directories.
Click to hide internal directories.