format code

This commit is contained in:
MaysWind
2020-12-22 22:59:50 +08:00
parent 8900091671
commit 024960f767
23 changed files with 61 additions and 61 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ func StringToInt32(str string) (int, error) {
return strconv.Atoi(str)
}
func StringTryToInt32(str string, defaultValue int) int {
func StringTryToInt32(str string, defaultValue int) int {
num, err := StringToInt32(str)
if err != nil {