[toy] web framework for Golang
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
examples
middlerware
testdata/examples/helloword
vendor
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md
cookie.go
error.go
gor.go
handler.go
handler_test.go
interface.go
request.go
request_test.go
response.go
response_test.go
route.go
route_test.go
router.go

README.md

gor

Fast, minimalist web framework for Golang

CircleCI

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"))
}