A convenient web application framework for Go
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd
event
log
testdata
util
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
controller.go
controller_test.go
event.go
flash.go
flash_test.go
kocha.go
kocha_bench_test.go
kocha_test.go
log.go
middleware.go
middleware_test.go
param.go
param_test.go
request.go
request_test.go
resource.go
resource_test.go
response.go
response_test.go
router.go
router_test.go
session.go
session_test.go
template.go
template_test.go
testfixtures_test.go
unit.go

README.md

Kocha Build Status

A convenient web application framework for Go

NOTE: Kocha is still under development, so API might be changed in future. If you still want to use the current version of Kocha, use of a version control such as gopkg.in is highly recommended.

Features

  • Batteries included
  • All configurations are in Go's syntax
  • Generate an All-In-One binary
  • Compatible with net/http

Requirement

  • Go 1.4 or later

Getting started

  1. install the framework:

     go get -u github.com/naoina/kocha
    

    And command-line tool

     go get -u github.com/naoina/kocha/cmd/...
    
  2. Create a new application:

     kocha new myapp
    

    Where "myapp" is the application name.

  3. Change directory and run the application:

     cd myapp
     kocha run
    

    or

     cd myapp
     go build -o myapp
     ./myapp
    

Documentation

See http://naoina.github.io/kocha/ for more information.

License

Kocha is licensed under the MIT