-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
text/template: add more package docs #13880
Comments
Which parts of text/template you would like to see more documentation on? |
small concise examples about every function, I'll post a list soon |
+1. More documentation on using the template tag would be useful because people generally use one large template and insert stuff into it. {{template "content" .Data}} |
We can give examples for using the |
Change https://go.dev/cl/651916 mentions this issue: |
Updates #13880 Change-Id: I0fd3b1a32e485bc8f15238c86a8bbdc161f20fa5 GitHub-Last-Rev: d1e92b3 GitHub-Pull-Request: #71922 Reviewed-on: https://go-review.googlesource.com/c/go/+/651916 Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Junyang Shao <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
We can add more comments to text/template package so the readers who use godoc will see somewhat more detailed material in the documentation rather than the sparse documentation which is currently present.
The text was updated successfully, but these errors were encountered: