Skip to content

ivpusic/neo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 14, 2017
c816441 · Aug 14, 2017

History

82 Commits
Jan 29, 2016
Feb 6, 2015
May 9, 2015
Feb 22, 2016
Feb 4, 2015
Feb 4, 2015
Jul 25, 2017
Feb 4, 2015
Oct 4, 2015
Jul 25, 2017
Feb 4, 2015
Aug 14, 2017
Oct 2, 2015
Feb 6, 2015
Feb 6, 2015
Jan 31, 2016
Jan 31, 2016
Feb 4, 2015
Jan 30, 2016
Jan 30, 2016
Jul 25, 2017
Apr 23, 2015
May 1, 2015
May 1, 2015
Jul 25, 2017
Feb 4, 2015
Mar 19, 2016
Feb 22, 2016
Jul 25, 2017
Feb 22, 2016
Feb 22, 2016
Feb 22, 2016
Feb 4, 2015
Feb 4, 2015
Feb 6, 2015
Feb 6, 2015
Feb 4, 2015
Feb 9, 2015

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

    app.Start()
}

Run it:

neo run main.go

License

MIT