Merge branch 'master' of https://e.coding.net/rosydev/baseapi
This commit is contained in:
@@ -565,6 +565,10 @@ func Str2Int(s string) (i int) {
|
||||
return int(Str2Int64WithDefault(s, 0))
|
||||
}
|
||||
|
||||
func Str2Int16(s string) (i int16) {
|
||||
return int16(Str2Int64WithDefault(s, 0))
|
||||
}
|
||||
|
||||
//func String2Int64Slice(s string) []int64 {
|
||||
// res := make([]int64, 0)
|
||||
// if len(s) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user