18 lines
291 B
Go
18 lines
291 B
Go
|
package templates
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
func (T Templates) ReplTemplateIssue(err error, w http.ResponseWriter, r *http.Request) {
|
||
|
T.NewRepl(
|
||
|
err,
|
||
|
w,
|
||
|
r,
|
||
|
"Template problem",
|
||
|
"Something's wrong with our templates.",
|
||
|
"email us this timestamp: "+time.Now().String(),
|
||
|
)
|
||
|
}
|