Merge pull request #740 from ericchiang/fix-comment-typos
*: fix comment typos and add go report card icon
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user