Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example in README.md #5

Merged
merged 1 commit into from Sep 22, 2017
Merged

Conversation

logarithm
Copy link
Contributor

If you use either AddFromFiles or Add with template.Must(template.ParseFiles(files...)) (i.e. without specified name) ParseFiles method uses first file in the list to create template and it should be the main template (layout).

…seFiles(files...)) (i.e. without specified name) ParseFiles method uses first file in the list to create template and it should be the main template (layout)
@codecov-io
Copy link

codecov-io commented Jun 23, 2017

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   85.71%   85.71%           
=======================================
  Files           1        1           
  Lines          35       35           
=======================================
  Hits           30       30           
  Misses          5        5

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 753bf91...49070cf. Read the comment docs.

@appleboy appleboy merged commit bbc6daf into gin-contrib:master Sep 22, 2017
@logarithm logarithm deleted the fix-readme branch September 22, 2017 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants