introduce basic fact collection
This commit is contained in:
@@ -3,6 +3,7 @@ package routes
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"git.dubyatp.xyz/orphanage/client/facts"
|
||||
"git.dubyatp.xyz/orphanage/client/httputil"
|
||||
"git.dubyatp.xyz/orphanage/client/testfunc"
|
||||
)
|
||||
@@ -13,4 +14,5 @@ func AddRoutes(
|
||||
mux.Handle("/", http.NotFoundHandler())
|
||||
mux.Handle("/helloworld", httputil.HelloWorld(nil))
|
||||
mux.Handle("/testjson", testfunc.HelloWorldJSON(nil))
|
||||
mux.Handle("/facts", facts.GetFacts(nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user