replaced 1 << 31 - 1 with math.MaxInt32

This commit is contained in:
alexchao26
2020-08-12 20:45:56 -04:00
parent a2492f9f4b
commit 06e9e53f49
10 changed files with 21 additions and 43 deletions
-3
View File
@@ -1,3 +0,0 @@
package util
const MaxSafeInt int = 1<<31 - 1
-12
View File
@@ -1,12 +0,0 @@
/*
just a test to see how building other parts of a package works
*/
package util
import "fmt"
// OtherFunc is a test :p
func OtherFunc() {
fmt.Println("hello from other func")
}