Skip to content

sergeylanzman/neo

 
 

Repository files navigation

Neo

Build Status GoDoc

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 http.StatusOK, ctx.Res.Text("I am Neo Programmer")
    })

    app.Start()
}

Run it:

neo run main.go

License

MIT

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%