Skip to content

Commit 5aefa32

Browse files
committed
Review fixes.
1 parent 706b2a8 commit 5aefa32

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

binding/yaml.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2014 Manu Martinez-Almeida. All rights reserved.
1+
// Copyright 2018 Gin Core Team. All rights reserved.
22
// Use of this source code is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

@@ -8,8 +8,6 @@ import (
88
"bytes"
99
"io"
1010
"net/http"
11-
12-
"gopkg.in/yaml.v2"
1311
)
1412

1513
type yamlBinding struct{}

context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const (
3131
MIMEPlain = binding.MIMEPlain
3232
MIMEPOSTForm = binding.MIMEPOSTForm
3333
MIMEMultipartPOSTForm = binding.MIMEMultipartPOSTForm
34-
BodyBytesKey = "_gin-gonic/gin/bodybyteskey"
3534
MIMEYAML = binding.MIMEYAML
35+
BodyBytesKey = "_gin-gonic/gin/bodybyteskey"
3636
)
3737

3838
const abortIndex int8 = math.MaxInt8 / 2

0 commit comments

Comments
 (0)