neo

Go Web Framework

ivpusic/neo http://ivpusic.github.io/neo/
starsStars 411
forksForks 41
watchersWatchers 411
current-versionCurrent version
total-releasesTotal releases 0
open_issues_countOpen issues 7
dateFirst release -
dateLatest release -
updateLast update 2020-11-27

Neo

Go Web Framework

Installation

# framework
go get github.com/ivpusic/neo

# CLI tool
go get github.com/ivpusic/neo/cmd/neo

Documentation

Project Site

API Documentation

Example

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

License

MIT