Drop support go1.10 (#2147)

This commit is contained in:
thinkerou
2019-11-24 23:07:56 +08:00
committed by Bo-Yi Wu
parent 70ca31bc11
commit 2ee0e96394
4 changed files with 3 additions and 4 deletions

View File

@ -67,7 +67,7 @@ func getMinVer(v string) (uint64, error) {
func debugPrintWARNINGDefault() {
if v, e := getMinVer(runtime.Version()); e == nil && v <= ginSupportMinGoVer {
debugPrint(`[WARNING] Now Gin requires Go 1.10 or later and Go 1.11 will be required soon.
debugPrint(`[WARNING] Now Gin requires Go 1.11 or later and Go 1.12 will be required soon.
`)
}