ethermint
ethermint copied to clipboard
all: use file embedding in Go1.16+ instead of bundling the binary
Proposal: [Description of the feature] Go1.16 introduced a feature to embed files just using a directive "//go:embed" per announcement https://golang.org/doc/go1.16#library-embed https://golang.org/doc/go1.16#embed and with a new package "embed" per https://pkg.go.dev/embed
Current behavior: [What currently happens] We have to bundle a binary just to include files.
Desired behavior: [What you would like to happen]
Use case: [Why is this important (helps with prioritizing requests)] Ethermint has minimum Go versions that it supports, and Go is now only supported on Go1.16 and Go1.17. It might be useful to instead using the standard library to embed files directly into an executable.
This issue is stale because it has been open 45 days with no activity. Remove Status: Stale
label or comment or this will be closed in 7 days.