docs: Fix templates documentation, stray newline breaks godoc (#5149)

This commit is contained in:
Francis Lavoie 2022-10-16 12:25:44 -04:00 committed by GitHub
parent 6bad878a22
commit 1cd594963e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,7 +268,6 @@ func init() {
// {{humanize "time" "Fri, 05 May 2022 15:04:05 +0200"}} // {{humanize "time" "Fri, 05 May 2022 15:04:05 +0200"}}
// {{humanize "time:2006-Jan-02" "2022-May-05"}} // {{humanize "time:2006-Jan-02" "2022-May-05"}}
// ``` // ```
type Templates struct { type Templates struct {
// The root path from which to load files. Required if template functions // The root path from which to load files. Required if template functions
// accessing the file system are used (such as include). Default is // accessing the file system are used (such as include). Default is