framework/pkg/tpl/error.templ

11 lines
162 B
Text
Raw Normal View History

2024-10-12 02:52:22 +03:00
package tpl
import "strconv"
templ ErrorPage(code int, message string) {
@Layout() {
<h1>Ошибка { strconv.Itoa(code) }!</h1>
<p>{ message }</p>
}
}