Last active
April 12, 2020 07:25
-
-
Save presmihaylov/d3f930801d3850fed8c1eaeeafddefaf to your computer and use it in GitHub Desktop.
Main function at the start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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