16 lines
185 B
Go

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