https://github.com/chyroc/gor
[toy] web framework for Golang
https://github.com/chyroc/gor
Last synced: 10 months ago
JSON representation
[toy] web framework for Golang
- Host: GitHub
- URL: https://github.com/chyroc/gor
- Owner: chyroc
- License: mit
- Created: 2017-11-23T02:21:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T07:46:57.000Z (about 8 years ago)
- Last Synced: 2025-01-29T08:22:54.827Z (11 months ago)
- Language: Go
- Homepage:
- Size: 5.68 MB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gor
Fast, minimalist web framework for [Golang](https://golang.org/)
[](https://circleci.com/gh/Chyroc/gor/tree/master)
```go
package main
import (
"fmt"
"log"
"github.com/Chyroc/gor"
)
func main() {
app := gor.NewGor()
app.Get("/", func(req *gor.Req, res *gor.Res) {
res.Send("Hello World")
})
log.Fatal(app.Listen(":3000"))
}
```
