Restructure appp

This commit is contained in:
Eden Kirin
2023-10-24 08:30:29 +02:00
parent 84bc7bc619
commit 2c27723049
4 changed files with 64 additions and 93 deletions

7
app/views/util.go Normal file
View File

@ -0,0 +1,7 @@
package views
import "github.com/kataras/iris/v12"
func showError(ctx iris.Context, err error) {
ctx.HTML("<h3>%s</h3>", err.Error())
}