Created
January 10, 2020 23:36
-
-
Save jorlugaqui/b095e0c092dad51813ee00380f6068cd to your computer and use it in GitHub Desktop.
ahm-main-initial
This file contains 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 ( | |
"ahm/callbacks" | |
"log" | |
"net/http" | |
) | |
func handleRequest() { | |
http.HandleFunc("/", callbacks.HomePage) | |
log.Fatal(http.ListenAndServe(":5000", nil)) | |
} | |
func main() { | |
handleRequest() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment