mirror of https://github.com/mpolden/echoip
Formatting
This commit is contained in:
parent
9535d64372
commit
0b2a970291
|
@ -12,8 +12,8 @@ import (
|
|||
)
|
||||
|
||||
type Client struct {
|
||||
IP net.IP
|
||||
Port string
|
||||
IP net.IP
|
||||
Port string
|
||||
Header http.Header
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ func handler(w http.ResponseWriter, req *http.Request) {
|
|||
io.WriteString(w, fmt.Sprintf("%s\n", value))
|
||||
}
|
||||
} else {
|
||||
funcMap := template.FuncMap {
|
||||
funcMap := template.FuncMap{
|
||||
"ToLower": strings.ToLower,
|
||||
}
|
||||
t, _ := template.
|
||||
|
|
Loading…
Reference in New Issue