Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivpusic/neo
Go Web Framework
https://github.com/ivpusic/neo
framework go golang neo
Last synced: about 1 month ago
JSON representation
Go Web Framework
- Host: GitHub
- URL: https://github.com/ivpusic/neo
- Owner: ivpusic
- License: mit
- Created: 2015-02-04T19:16:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-19T20:12:13.000Z (about 2 years ago)
- Last Synced: 2024-08-01T21:47:51.861Z (5 months ago)
- Topics: framework, go, golang, neo
- Language: Go
- Homepage: http://ivpusic.github.io/neo/
- Size: 129 KB
- Stars: 419
- Watchers: 36
- Forks: 43
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - neo - Go Web Framework - ★ 378 (Web Frameworks)
- awesome-go-extra - neo - 02-04T19:16:06Z|2017-12-30T07:35:36Z| (Web Frameworks / Fail injection)
README
Neo
====
[![Build Status](https://travis-ci.org/ivpusic/neo.svg?branch=master)](https://travis-ci.org/ivpusic/neo)
[![GoDoc](https://godoc.org/github.com/ivpusic/neo?status.svg)](https://godoc.org/github.com/ivpusic/neo)Go Web Framework
## Installation
```bash
# framework
go get github.com/ivpusic/neo# CLI tool
go get github.com/ivpusic/neo/cmd/neo
```# Documentation
[Project Site](http://ivpusic.github.io/neo)[API Documentation](http://godoc.org/github.com/ivpusic/neo)
## Example
Create Neo application:
```bash
neo new myapp
cd myapp
``````Go
package mainimport (
"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:
```bash
neo run main.go
```## License
*MIT*