Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahincsejnu/go-package-template
https://github.com/shahincsejnu/go-package-template
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/shahincsejnu/go-package-template
- Owner: shahincsejnu
- License: apache-2.0
- Created: 2021-02-18T04:09:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-28T11:38:07.000Z (over 3 years ago)
- Last Synced: 2023-03-21T22:56:00.601Z (over 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-package-template
## Basics
- Go templates are a powerful method to customize output however you want, whether you’re creating a web page, sending an e-mail, working with Buffalo, Go-Hugo, or just using some CLI such as kubectl.
- There’re two packages operating with templates — text/template and html/template.
- Both provide the same interface.
- However, the html/template package is used to generate HTML output safe against code injection.
# Resources
- [ ] [Go Package Template](https://golang.org/pkg/text/template/)
- [x] [Using Go Templates](https://blog.gopheracademy.com/advent-2017/using-go-templates/#:~:text=Go%20templates%20are%20a%20powerful,%2Ftemplate%20and%20html%2Ftemplate%20.) # good one
- [ ] [Learn and Use Templates in Go](https://levelup.gitconnected.com/learn-and-use-templates-in-go-aa6146b01a38)
- [ ] [Understanding Go’s template package](https://medium.com/@IndianGuru/understanding-go-s-template-package-c5307758fab0)
- [ ] [Golang Template Example | Package Template In Golang](https://appdividend.com/2019/11/27/golang-template-example-package-template-in-golang/)