Skip to content

forgoer/mux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MUX

GoDoc LICENSE

Installation

The only requirement is the Go Programming Language

go get -u github.com/forgoer/mux

Quick start

package main

import (
    "fmt"
	"http"

	"github.com/forgoer/mux"
)

func main() {
	m := mux.New()
	m.HandleFunc("/", HomeHandler)
	m.HandleFunc("/products", ProductsHandler)
	m.HandleFunc("/articles", ArticlesHandler)
	http.ListenAndServe(":8080", &m)
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages