Split into service and main, refactor some code and add better tests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler
2019-10-03 19:59:20 -04:00
parent 03e58957f1
commit 75989c9337
8 changed files with 102 additions and 49 deletions

15
service/main.go Normal file
View File

@ -0,0 +1,15 @@
package main
import (
"net/http"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/info", handleInfoRequest)
http.ListenAndServe(":8080", mux)
}
func handleInfoRequest(w http.ResponseWriter, r *http.Request) {
}