Add plugin manager

This commit is contained in:
Yiwen-Chan
2021-02-14 19:16:51 +08:00
parent e667720694
commit c38e1f15dd
2 changed files with 12 additions and 12 deletions

15
manager/utils/utils.go Normal file
View File

@@ -0,0 +1,15 @@
package utils
import (
"strconv"
)
func Int2Str(val int64) string {
str := strconv.FormatInt(val, 10)
return str
}
func Str2Int(str string) int64 {
val, _ := strconv.ParseInt(str, 10, 64)
return val
}