clear: Mark a method that is about to expire
This commit is contained in:
1 parent
73f8572727
commit
18d116bc0c
1 file changed
+2
@@ -6,6 +6,8 @@ import (
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// 不建议使用的方法(即将过时)
|
||||
// Deprecated method (out of date)
|
||||
func StrToInt(err error, index string) int {
|
||||
result, err := strconv.Atoi(index)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user