diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-11 22:57:19 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-11 22:57:19 +0530 |
commit | 10eb82c7c00a0a1a75528644fbfbe108a769207f (patch) | |
tree | ac5d413830d8e1f15985450230fe20490966fcb6 /main.go | |
parent | 2f4a92b0f1d02096427a2d1c97746bb52cdcc38a (diff) |
serving created invoices as both HTML and JSON
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ func main() { defer database.DisconnectDB() r := gin.New() + r.LoadHTMLGlob("web/templates/**/*") + item.Routes(r) brand.Routes(r) client.Routes(r) |