Permalink
Browse files

Doc string convention

  • Loading branch information...
cespare committed Sep 13, 2013
1 parent 680bdfe commit 436fbcfa687c21aae766d5e5bd02bcb60397ece2
Showing with 2 additions and 2 deletions.
  1. +2 −2 apachelog.go
View
@@ -103,8 +103,8 @@ func (h *handler) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
record.Log(h.out)
}
-// A best-effort attempt at getting the IP from http.Request.RemoteAddr. For a Go server, they typically look
-// like this:
+// getIP makes a best-effort attempt at getting the IP from http.Request.RemoteAddr. For a Go server, they
+// typically look like this:
// 127.0.0.1:36341
// [::1]:44092
// I think this is standard for IPv4 and IPv6 addresses.

0 comments on commit 436fbcf

Please sign in to comment.