Restructure appp
This commit is contained in:
7
app/views/util.go
Normal file
7
app/views/util.go
Normal 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())
|
||||
}
|
||||
Reference in New Issue
Block a user