Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shahincsejnu/go-package-template


https://github.com/shahincsejnu/go-package-template

Last synced: about 5 hours ago
JSON representation

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/)