From b643f7852f93f73843aa5f52f9b4545321713e10 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 5 Oct 2023 15:29:50 +0530 Subject: added invoice route (barebones) --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.go') 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) -- cgit v1.2.3