Merge pull request #740 from ericchiang/fix-comment-typos

*: fix comment typos and add go report card icon
This commit is contained in:
Eric Chiang
2016-12-13 13:17:50 -08:00
committed by GitHub
6 changed files with 6 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/coreos/dex/version"
)
// apiVersion increases everytime a new call is added to the API. Clients should use this info
// apiVersion increases every time a new call is added to the API. Clients should use this info
// to determine if the server supports specific features.
const apiVersion = 0

View File

@@ -222,7 +222,7 @@ func (t *templates) oob(w http.ResponseWriter, code string) error {
return renderTemplate(w, t.oobTmpl, data)
}
// small io.Writer utilitiy to determine if executing the template wrote to the underlying response writer.
// small io.Writer utility to determine if executing the template wrote to the underlying response writer.
type writeRecorder struct {
wrote bool
w io.Writer