initial commit before refactor switch

This commit is contained in:
brent saner
2024-12-12 02:22:54 -05:00
commit db081e2699
33 changed files with 3101 additions and 0 deletions

12
server/funcs_page.go Normal file
View File

@@ -0,0 +1,12 @@
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
}