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