go-bindata
dog
Our great sponsors
go-bindata | dog | |
---|---|---|
1 | 1 | |
187 | 0 | |
- | - | |
0.0 | 0.0 | |
almost 2 years ago | about 3 years ago | |
Go | Go | |
Creative Commons Zero v1.0 Universal | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-bindata
-
What is the preferred way to package static files (html/css/js) along with your standalone binary in 2020?
shuLhan/go-bindata - https://github.com/shuLhan/go-bindata
dog
-
What is the preferred way to package static files (html/css/js) along with your standalone binary in 2020?
My solution involved a generator whose source is here, and a shell script for building that ensures the generator is up to date, then runs the generator via `go generate`, then finally runs `go build`.
What are some alternatives?
rules_go - Go rules for Bazel
parcello - Golang Resource Bundler [deprecated]
go-bindata - Turn data file into go code.
httpfs - Collection of Go packages for working with the http.FileSystem interface.
go-embed - Generates go code to embed resource files into your library or executable
vfsgen - Takes an input http.FileSystem (likely at go generate time) and generates Go code that statically implements it.
statik - Embed files into a Go executable
pcopy - pcopy is a temporary file host, nopaste and clipboard across machines. It can be used from the Web UI, via a CLI or without a client by using curl.
esc - A simple file embedder for Go
go.rice - go.rice is a Go package that makes working with resources such as html,js,css,images,templates, etc very easy.