Skip to content

Instantly share code, notes, and snippets.

@presmihaylov
Last active April 12, 2020 07:25
Show Gist options
  • Save presmihaylov/d3f930801d3850fed8c1eaeeafddefaf to your computer and use it in GitHub Desktop.
Save presmihaylov/d3f930801d3850fed8c1eaeeafddefaf to your computer and use it in GitHub Desktop.
Main function at the start
package main
import (
"net/http"
"github.com/preslavmihaylov/fxappexample/httphandler"
)
func main() {
mux := http.NewServeMux()
httphandler.New(mux)
http.ListenAndServe(":8080", mux)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment