Documentation ¶
Index ¶
- func BeginningOfDay(t time.Time) time.Time
- func BeginningOfMonth(t time.Time) time.Time
- func Caller(skip int) (file string, line int, function string)
- func DiffDays(t1 time.Time, t2 time.Time) int
- func EndOfDay(t time.Time) time.Time
- func EndOfMonth(t time.Time) time.Time
- func F322d(m float32) float32
- func LatitudePan(latitude float32, meter int) float32
- func LongitudePan(longtitude float32, meter int) float32
- func MaskMobile(mobile string) string
- func RandLetters(length int) string
- func RandNumbers(length int) string
- func Tpl(template string, param TplParam) string
- func UintContains(arr []uint, find uint) bool
- func WrapCaller(file string, line int, fn string) string
- type Map
- type SimpleAES
- type TplParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatitudePan ¶
LatitudePan 计算纬度偏移meter米后的纬度
func LongitudePan ¶
LongitudePan 计算经度偏移meter米后的经度
func MaskMobile ¶
func UintContains ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.