Documentation
¶
Index ¶
- func CloneMessage[E proto.Message](e E) E
- func DayCount(a time.Time, b time.Time) int
- func DeleteOne[S ~[]E, E comparable](s S, delELem E) S
- func DeleteOneFunc[S ~[]E, E any](s S, del func(E) bool) S
- func GetTimeoutTimestamp(timeType, timeout int32, now time.Time) int32
- func IsMultiOverflow(a, b int32) bool
- func ToBool(v any) bool
- func ToDate(t time.Time) time.Time
- func ToDateInt(t time.Time) int32
- func ToFloat(v any) float64
- func ToInt(v any) int
- func ToUint(v any) uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimeoutTimestamp ¶
计算超时时间戳
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.