fix
This commit is contained in:
parent
1d5d753c39
commit
97aefc3052
5
main.go
5
main.go
@ -34,6 +34,11 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
defer client.Close()
|
defer client.Close()
|
||||||
|
|
||||||
|
err = client.Migrate()
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
http.HandleFunc("/api/v1/metrics/endpoint", handlerWrapper(endpoint.AddEndpointMetric))
|
http.HandleFunc("/api/v1/metrics/endpoint", handlerWrapper(endpoint.AddEndpointMetric))
|
||||||
log.Printf("Server started")
|
log.Printf("Server started")
|
||||||
|
Loading…
Reference in New Issue
Block a user