Skip to content

thak1411/gorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gorn

Rn's Golang Web Server Framework

Installation

 $ go get -u github.com/thak1411/gorn

Quick Start

package main

import "github.com/thak1411/gorn"

func main() {
    router := gorn.NewRouter()

    router.Get("/", func(c *gorn.Context) {
        c.SendPlainText(200, "Hello, World!")
    })
    router.Run(8080)
}