Documentation ¶
Index ¶
- func CriticalWithDefault(v ...any)
- func CriticalfWithDefault(format string, v ...any)
- func DebugWithDefault(v ...any)
- func DebugfWithDefault(format string, v ...any)
- func ErrorWithDefault(v ...any)
- func ErrorfWithDefault(format string, v ...any)
- func FatalWithDefault(v ...any)
- func FatalfWithDefault(format string, v ...any)
- func GetBoolWithDefault(pattern string, defaultValue ...bool) (bool, error)
- func GetDurationWithDefault(pattern string, defaultValue ...time.Duration) (time.Duration, error)
- func GetFloat32WithDefault(pattern string, defaultValue ...float32) (float32, error)
- func GetFloat64WithDefault(pattern string, defaultValue ...float64) (float64, error)
- func GetInt16WithDefault(pattern string, defaultValue ...int16) (int16, error)
- func GetInt32WithDefault(pattern string, defaultValue ...int32) (int32, error)
- func GetInt64WithDefault(pattern string, defaultValue ...int64) (int64, error)
- func GetInt8WithDefault(pattern string, defaultValue ...int8) (int8, error)
- func GetIntWithDefault(pattern string, defaultValue ...int) (int, error)
- func GetInterfaceWithDefault(pattern string, defaultValue ...interface{}) (interface{}, error)
- func GetMapStrAnyWithDefault(pattern string, defaultValue ...map[string]interface{}) (map[string]interface{}, error)
- func GetMapStrStrWithDefault(pattern string, defaultValue ...map[string]string) (map[string]string, error)
- func GetMapStrVarWithDefault(pattern string, defaultValue ...map[string]*gvar.Var) (map[string]*gvar.Var, error)
- func GetMapWithDefault(pattern string, defaultValue ...map[string]interface{}) (map[string]interface{}, error)
- func GetMetaFromCtx(ctx context.Context) map[string]string
- func GetMetaTag(r *ghttp.Request) map[string]string
- func GetTimeWithDefault(pattern string, format string, defaultValue ...map[any]any) *gtime.Time
- func GetUint16WithDefault(pattern string, defaultValue ...uint16) (uint16, error)
- func GetUint32WithDefault(pattern string, defaultValue ...uint32) (uint32, error)
- func GetUint64WithDefault(pattern string, defaultValue ...uint64) (uint64, error)
- func GetUint8WithDefault(pattern string, defaultValue ...uint8) (uint8, error)
- func GetValWithDefault(pattern string, defaultValue ...interface{}) (interface{}, error)
- func InfoWithDefault(v ...any)
- func InfofWithDefault(format string, v ...any)
- func NoticeWithDefault(v ...any)
- func NoticefWithDefault(format string, v ...any)
- func PanicWithDefault(v ...any)
- func PanicfWithDefault(format string, v ...any)
- func PrintWithDefault(v ...any)
- func PrintfWithDefault(format string, v ...any)
- func ScanWithDefault(pattern string, pointer interface{}, m map[string]string, ...) error
- func SetDbDebug(env []string, name ...string) error
- func SetDbDebugWithDefault(name ...string) error
- func StructWithDefault(pattern string, pointer interface{}, m map[string]string, ...) error
- func WarningWithDefault(v ...any)
- func Warningf(format string, v ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CriticalWithDefault ¶
func CriticalWithDefault(v ...any)
func CriticalfWithDefault ¶
func DebugWithDefault ¶
func DebugWithDefault(v ...any)
func DebugfWithDefault ¶
func ErrorWithDefault ¶
func ErrorWithDefault(v ...any)
func ErrorfWithDefault ¶
func FatalWithDefault ¶
func FatalWithDefault(v ...any)
func FatalfWithDefault ¶
func GetBoolWithDefault ¶
func GetDurationWithDefault ¶
func GetFloat32WithDefault ¶
func GetFloat64WithDefault ¶
func GetInt16WithDefault ¶
func GetInt32WithDefault ¶
func GetInt64WithDefault ¶
func GetInt8WithDefault ¶
func GetInterfaceWithDefault ¶
func GetMapStrAnyWithDefault ¶
func GetMapStrStrWithDefault ¶
func GetMapStrVarWithDefault ¶
func GetMapWithDefault ¶
func GetTimeWithDefault ¶
func GetUint16WithDefault ¶
func GetUint32WithDefault ¶
func GetUint64WithDefault ¶
func GetUint8WithDefault ¶
func GetValWithDefault ¶
func InfoWithDefault ¶
func InfoWithDefault(v ...any)
func InfofWithDefault ¶
func NoticeWithDefault ¶
func NoticeWithDefault(v ...any)
func NoticefWithDefault ¶
func PanicWithDefault ¶
func PanicWithDefault(v ...any)
func PanicfWithDefault ¶
func PrintWithDefault ¶
func PrintWithDefault(v ...any)
func PrintfWithDefault ¶
func ScanWithDefault ¶
func SetDbDebug ¶
func SetDbDebugWithDefault ¶
func StructWithDefault ¶
func WarningWithDefault ¶
func WarningWithDefault(v ...any)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.