Skip to content

ericmdantas/go-uweb

Repository files navigation

go-µweb

Build Status

Micro wrapper on go's HTTP handling. Created for testing purposes.

Usage

package main

import (
    "net/http"
    uweb "github.com/ericmdantas/go-uweb"
)

func main() {
    u := uweb.New()

    u.GET("/hello_world", func(w http.ResponseWriter, r *http.Request) {
        w.Write([]byte("hello world!"))
    })

    http.ListenAndServe(":1037", u)
}

Should I use it?

No.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages