.. title:: Golf Web Server

`Golf <http://github.com/dinever/golf>`_ is a Go web framework.

Installation
------------

    go get github.com/dinever/golf

Hello World
-----------

    package main

    import "github.com/dinever/golf"

    func helloWorldHandler(req Golf.Request, res Golf.Response) {
        res.Send("Hello World!")
    }

    func main() {
        app := Golf.New()
        app.Get("/", helloWorldHandler)
        app.Run(":5693")
    }

LICENSE
-------

`Apache License <http://www.apache.org/licenses/LICENSE-2.0.html>`_

.. title:: Golf Web Server

`Golf <http://github.com/dinever/golf>`_ is a Go web framework.

Installation
------------

    go get github.com/dinever/golf

Hello World
-----------

Here is a simple "Hello World!" application using Golf::

    package main

    import "github.com/dinever/golf"

    func helloWorldHandler(req Golf.Request, res Golf.Response) {
        res.Send("Hello World!")
    }

    func main() {
        app := Golf.New()
        app.Get("/", helloWorldHandler)
        app.Run(":5693")
    }

LICENSE
-------

`Apache License <http://www.apache.org/licenses/LICENSE-2.0.html>`_

Fix code display in docs
Fix code display in docs
