mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-10 07:27:22 +01:00
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
Block a user