go_clientinfo/server/funcs_page.go
2024-12-12 02:22:54 -05:00

13 lines
197 B
Go

package server
import (
`fmt`
)
func (p *Page) RenderIP(indent uint) (s string) {
s = fmt.Sprintf("<a href=\"https://ipinfo.io/%s\">%s</a>", p.Info.IP.String(), p.Info.IP.String())
return
}