aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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)
}