rakyll / statik

Embed files into a Go executable
Apache License 2.0
3.75k stars 225 forks source link

[doc] mention the //go:embed feature of the Go compiler since 1.16 #125

Closed amnonbc closed 2 years ago

amnonbc commented 2 years ago

fixes #124

Go 1.16 did basically obsolete this utility by adding the //go:embed feature, which provides the same functionality. I am not sure whether there are any circumstances were people should still use statik. But it would make sense to point readers in the directive of the //go:embed directive in the docs.