Skip to content

Commit

Permalink
feat: add toLower template util
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal authored and muesli committed May 17, 2021
1 parent 49652d6 commit 737cb2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"io/ioutil"
"net/http"
"os"
"strings"
"time"

"github.com/KyleBanks/goodreads"
Expand Down Expand Up @@ -56,6 +57,7 @@ func main() {
"humanize": humanized,
"reverse": reverse,
"now": time.Now,
"toLower": strings.ToLower,
}).Parse(string(tplIn))
if err != nil {
fmt.Println("Can't parse template:", err)
Expand Down

0 comments on commit 737cb2d

Please sign in to comment.