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