diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |