diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-19 20:44:11 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-19 20:44:11 +0530 | 
| commit | ff2d444d27eebfd093c2542eb798b1d4c708aab3 (patch) | |
| tree | 10364a01848039959ab9b2df4009ef993d6176d8 /main.go | |
| parent | 34d7bc9e99461cd275dd96330009dbe3ad17d082 (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 | 
1 files changed, 5 insertions, 3 deletions
@@ -27,6 +27,7 @@ import (  	// routes  	"vidhukant.com/openbills/auth" +	"vidhukant.com/openbills/config"  	"vidhukant.com/openbills/customer"  	"vidhukant.com/openbills/invoice"  	"vidhukant.com/openbills/item" @@ -38,7 +39,7 @@ import (  	"log"  ) -const OPENBILLS_VERSION = "v0.24.0" +const OPENBILLS_VERSION = "v0.25.0"  func init() {  	if !viper.GetBool("debug_mode") { @@ -64,10 +65,11 @@ func main() {  	protected := api.Group("/")  	protected.Use(auth.Authorize())  	{ -		user.Routes(protected) +		config.Routes(protected)  		customer.Routes(protected) -		item.Routes(protected)  		invoice.Routes(protected) +		item.Routes(protected) +		user.Routes(protected)  	}  	log.Printf("\x1b[46m\x1b[30m[info]\x1b[0m Running OpenBills Server %s\n", OPENBILLS_VERSION)  |