Skip to content

Commit

Permalink
Merge pull request kelseyhightower#404 from aramalipoor/patch-1
Browse files Browse the repository at this point in the history
Add file exists function to template functions
  • Loading branch information
kelseyhightower committed Mar 6, 2016
2 parents 57b649d + 0188e96 commit 6bb3c21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resource/template/template_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func newFuncMap() map[string]interface{} {
m["replace"] = strings.Replace
m["lookupIP"] = LookupIP
m["lookupSRV"] = LookupSRV
m["fileExists"] = isFileExist
return m
}

Expand Down

0 comments on commit 6bb3c21

Please sign in to comment.