You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Must panics if err is non-nil in the same way as template.Must.
func Must(t *Template, err error) *Template {
t.text = template.Must(t.text, err)
return t
}
it panics in a different way; when err != nil, t is usually nil,
so the code never reaches template.Must.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: