Go Web Framework
# framework
go get github.com/ivpusic/neo
# CLI tool
go get github.com/ivpusic/neo/cmd/neo
Create Neo application:
neo new myapp
cd myapp
package main
import (
"github.com/ivpusic/neo"
)
func main() {
app := neo.App()
app.Get("/", func(ctx *neo.Ctx) (int, error) {
return 200, ctx.Res.Text("I am Neo Programmer")
})
app.Start()
}
Run it:
neo run main.go
MIT