We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d3ec66 commit 59322d3Copy full SHA for 59322d3
services/location/server.go
@@ -72,8 +72,7 @@ func (s *Server) Run() error {
72
73
func (s *Server) createServeMux() http.Handler {
74
mux := tracing.NewServeMux(false, s.tracerProvider, s.logger)
75
- mux.Handle("GET /locations", http.HandlerFunc(s.listLocations))
76
- mux.Handle("GET /location", http.HandlerFunc(s.getLocation))
+ mux.Handle("GET /location", http.HandlerFunc(s.listLocations))
77
mux.Handle("POST /location", http.HandlerFunc(s.createLocation))
78
mux.Handle("DELETE /location", http.HandlerFunc(s.deleteLocation))
79
mux.Handle("GET /healthz", http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
0 commit comments