We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ba0e4 commit 9d0a00fCopy full SHA for 9d0a00f
README.md
@@ -84,8 +84,8 @@ sure you have the following installed:
84
85
### Prerequisites
86
87
-- [Git][git]
88
-- [Go 1.11][golang]+
+* [Git][git]
+* [Go 1.11][golang]+
89
90
You will need to activate [Modules][modules] for your version of Go, generally
91
by invoking `go` with the support `GO111MODULE=on` environment variable set.
internal/middleware/statuswriter.go
@@ -14,7 +14,7 @@ func (w *statusWriter) WriteHeader(status int) {
14
15
func (w *statusWriter) Write(b []byte) (int, error) {
16
if w.status == 0 {
17
- w.status = 200
+ w.status = http.StatusOK
18
}
19
return w.ResponseWriter.Write(b)
20
0 commit comments