rename postgr fucntions
This commit is contained in:
@@ -19,7 +19,7 @@ func withCORS(h http.HandlerFunc) http.HandlerFunc {
|
||||
|
||||
func main() {
|
||||
ctx := context.Background()
|
||||
postgresql.PgInit(ctx)
|
||||
postgresql.Init(ctx)
|
||||
|
||||
http.HandleFunc("/new/user", withCORS(http2.HandleUserNew))
|
||||
http.HandleFunc("/new/connection", withCORS(http2.HandleUserNewConnection))
|
||||
|
||||
Reference in New Issue
Block a user