chore: add a version file includes gin version (#1549)
* chore: add a version file includes gin version * update version for dev version
This commit is contained in:
parent
90c680ef5c
commit
b27b7026c7
6
gin.go
6
gin.go
@ -14,11 +14,7 @@ import (
|
|||||||
"github.com/gin-gonic/gin/render"
|
"github.com/gin-gonic/gin/render"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const defaultMultipartMemory = 32 << 20 // 32 MB
|
||||||
// Version is Framework's version.
|
|
||||||
Version = "v1.3.0"
|
|
||||||
defaultMultipartMemory = 32 << 20 // 32 MB
|
|
||||||
)
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
default404Body = []byte("404 page not found")
|
default404Body = []byte("404 page not found")
|
||||||
|
8
version.go
Normal file
8
version.go
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// Copyright 2018 Gin Core Team. All rights reserved.
|
||||||
|
// Use of this source code is governed by a MIT style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
package gin
|
||||||
|
|
||||||
|
// Version is the current gin framework's version.
|
||||||
|
const Version = "v1.4.0-dev"
|
Loading…
Reference in New Issue
Block a user