Skip to content

Commit 1827cc1

Browse files
committed
binding: remove version
1 parent 2d0f5e3 commit 1827cc1

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

bind_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,3 @@ func Test_Bind(t *testing.T) {
4949
})
5050
})
5151
}
52-
53-
func Test_Version(t *testing.T) {
54-
Convey("Get package version", t, func() {
55-
So(Version(), ShouldEqual, _VERSION)
56-
})
57-
}

binding.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ import (
3333
"gopkg.in/macaron.v1"
3434
)
3535

36-
const _VERSION = "0.6.1"
37-
38-
func Version() string {
39-
return _VERSION
40-
}
41-
4236
func bind(ctx *macaron.Context, obj interface{}, ifacePtr ...interface{}) {
4337
contentType := ctx.Req.Header.Get("Content-Type")
4438
if ctx.Req.Method == "POST" || ctx.Req.Method == "PUT" || ctx.Req.Method == "PATCH" {

0 commit comments

Comments
 (0)