ivpusic / neo

Go Web Framework

Home Page:http://ivpusic.github.io/neo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Go Web Framework

http://ivpusic.github.io/neo/

License:MIT License


Languages

Language:Go 99.1%Language:Smarty 0.6%Language:HTML 0.3%