aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-05 15:29:50 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-05 15:29:50 +0530
commitb643f7852f93f73843aa5f52f9b4545321713e10 (patch)
tree09938550f85f699fd665127888c4c668f0f1b2a9 /main.go
parentd8c1d5fedfac65a79490120195e273b5d5fc75e9 (diff)
added invoice route (barebones)v0.0.11
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 0b5c59a..91b2128 100644
--- a/main.go
+++ b/main.go
@@ -30,6 +30,7 @@ import (
"vidhukant.com/openbills/auth"
"vidhukant.com/openbills/customer"
"vidhukant.com/openbills/item"
+ "vidhukant.com/openbills/invoice"
"github.com/gin-gonic/gin"
"github.com/spf13/viper"
@@ -37,7 +38,7 @@ import (
"log"
)
-const OPENBILLS_VERSION = "v0.0.10"
+const OPENBILLS_VERSION = "v0.0.11"
func init() {
if viper.GetBool("production_mode") {
@@ -63,6 +64,7 @@ func main() {
{
customer.Routes(protected)
item.Routes(protected)
+ invoice.Routes(protected)
}
log.Printf("\x1b[46m\x1b[30m[info]\x1b[0m Running OpenBills Server %s\n", OPENBILLS_VERSION)