commit | 8c199fb6259ffc1af525cc3ad52ee60ba8359669 | [log] [tgz] |
---|---|---|
author | Julien Schmidt <julienschmidt@users.noreply.github.com> | Tue Apr 21 19:00:07 2015 +0200 |
committer | Julien Schmidt <julienschmidt@users.noreply.github.com> | Tue Apr 21 19:00:07 2015 +0200 |
tree | ce94b3ed2c1e5b1acdebb4950373c54ef2ce4b9c | |
parent | 1636fa1cff0dae19d3c1ae7f9553c30aac9ae6b5 [diff] |
Code Formatting
diff --git a/README.md b/README.md index c87d5fc..9875c70 100644 --- a/README.md +++ b/README.md
@@ -256,7 +256,10 @@ payload, err := base64.StdEncoding.DecodeString(auth[len(basicAuthPrefix):]) if err == nil { pair := bytes.SplitN(payload, []byte(":"), 2) - if len(pair) == 2 && bytes.Equal(pair[0], user) && bytes.Equal(pair[1], pass) { + if len(pair) == 2 && + bytes.Equal(pair[0], user) && + bytes.Equal(pair[1], pass) { + // Delegate request to the given handle h(w, r, ps) return