Skip to content

Commit

Permalink
chore: add a version file includes gin version (gin-gonic#1549)
Browse files Browse the repository at this point in the history
* chore: add a version file includes gin version

* update version for dev version
  • Loading branch information
thinkerou authored and justinfx committed Nov 3, 2018
1 parent d3a05e4 commit 076e182
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 1 addition & 5 deletions gin.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ import (
"github.com/gin-gonic/gin/render"
)

const (
// Version is Framework's version.
Version = "v1.3.0"
defaultMultipartMemory = 32 << 20 // 32 MB
)
const defaultMultipartMemory = 32 << 20 // 32 MB

var (
default404Body = []byte("404 page not found")
Expand Down
8 changes: 8 additions & 0 deletions version.go
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 076e182

Please sign in to comment.