sql migration need add uuid-ossp extention
This commit is contained in:
@@ -31,6 +31,8 @@ func InitChiRouting() {
|
|||||||
w.Write([]byte("welcome developer! Cool."))
|
w.Write([]byte("welcome developer! Cool."))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
r.Post("/signin", auth.Register)
|
||||||
|
|
||||||
r.Route("/auth", func(r chi.Router) {
|
r.Route("/auth", func(r chi.Router) {
|
||||||
r.Post("/register", auth.Register)
|
r.Post("/register", auth.Register)
|
||||||
r.Post("/login", auth.Login)
|
r.Post("/login", auth.Login)
|
||||||
|
|||||||
Reference in New Issue
Block a user