Commit 8471c2d9 authored by Matthew Holt's avatar Matthew Holt

Updated docs; renamed a couple utility files

parent dcc67863
...@@ -60,7 +60,7 @@ func NewReplacer(r *http.Request, rw *responseRecorder) replacer { ...@@ -60,7 +60,7 @@ func NewReplacer(r *http.Request, rw *responseRecorder) replacer {
return rep return rep
} }
// replace performs a replacement of values on s and returns // Replace performs a replacement of values on s and returns
// the string with the replaced values. // the string with the replaced values.
func (r replacer) Replace(s string) string { func (r replacer) Replace(s string) string {
for placeholder, replacement := range r { for placeholder, replacement := range r {
......
// Server implements a configurable, general-purpose web server. It
// relies on configurations obtained from the adjacent config package
// and can execute middleware as defined by the adjacent middleware
// package.
package server package server
import ( import (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment