2024-03-22 15:08:24 +01:00

16 lines
182 B
Go

package main
import (
"git.akyoto.dev/go/web"
)
func main() {
s := web.NewServer()
s.Get("/", func(ctx web.Context) error {
return ctx.String("Hello")
})
s.Run(":8080")
}