diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-05 15:29:50 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-05 15:29:50 +0530 | 
| commit | b643f7852f93f73843aa5f52f9b4545321713e10 (patch) | |
| tree | 09938550f85f699fd665127888c4c668f0f1b2a9 /main.go | |
| parent | d8c1d5fedfac65a79490120195e273b5d5fc75e9 (diff) | |
added invoice route (barebones)
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)  |