Add Documentation API
This commit is contained in:
1 parent
32738aaae0
commit
a65cf086f0
4 files changed
+98
-1
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package common
|
||||
|
||||
import "strconv"
|
||||
|
||||
// Int converts s to an int. If s in an invalid int, it defaults to 0.
|
||||
func Int(s string) int {
|
||||
r, _ := strconv.Atoi(s)
|
||||
|
||||
Reference in new issue
Block a user