Skip to content

Instantly share code, notes, and snippets.

@rafa-acioly
Created February 4, 2018 13:02
Show Gist options
  • Save rafa-acioly/8836e4bcbf1efdff0b1b978609915b67 to your computer and use it in GitHub Desktop.
Save rafa-acioly/8836e4bcbf1efdff0b1b978609915b67 to your computer and use it in GitHub Desktop.
package main
import (
"encoding/json"
"log"
"net/http"
"github.com/gorilla/mux"
)
// nossa função principal
func main() {
router := mux.NewRouter()
log.Fatal(http.ListenAndServe(":8000", router))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment