mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-05 01:20:25 +08:00
增加健康检查定时任务/健康检查可以发送消息
This commit is contained in:
11
internal/utils/numberutils/utils.go
Normal file
11
internal/utils/numberutils/utils.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package numberutils
|
||||
|
||||
import "strconv"
|
||||
|
||||
func FormatInt64(value int64) string {
|
||||
return strconv.FormatInt(value, 10)
|
||||
}
|
||||
|
||||
func FormatInt(value int) string {
|
||||
return strconv.Itoa(value)
|
||||
}
|
||||
Reference in New Issue
Block a user