aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 23:12:52 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 23:12:52 +0530
commit7f12e4fa01a2bf3ab25844f3d73af67881a587f1 (patch)
tree635627eecf325d0d78f45d161d8bb110d3cfcc1e /main.go
parent127d4fb8ee7f8b141f9fb2f1a8fda45d350f34fc (diff)
added sign-in
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index e40ac8f..dfeec0c 100644
--- a/main.go
+++ b/main.go
@@ -26,6 +26,8 @@ import (
"vidhukant.com/openbills/errors"
// routes
+ "vidhukant.com/openbills/user"
+ "vidhukant.com/openbills/auth"
"vidhukant.com/openbills/customer"
"vidhukant.com/openbills/item"
@@ -47,6 +49,8 @@ func main() {
api := r.Group("/api")
api.Use(errors.ErrResponse())
{
+ user.Routes(api)
+ auth.Routes(api)
customer.Routes(api)
item.Routes(api)
}