I believe that the convention is to present the default values when listing available configuration keys in various docs and README files. The values presented in the Options section of the README are inconsistent with the defaults defined in the source code. Example:
Extensions: []string{".tmpl", ".html"},
but the source code defaults to
opt.Extensions = []string{".tmpl"}
That might be confusing as for example I assumed that the configuration presented in the README is consistent with the default one and couldn't figure out why my .html templates are not being loaded.
I believe that the convention is to present the default values when listing available configuration keys in various docs and README files. The values presented in the Options section of the README are inconsistent with the defaults defined in the source code. Example:
but the source code defaults to
That might be confusing as for example I assumed that the configuration presented in the README is consistent with the default one and couldn't figure out why my
.html
templates are not being loaded.