files
files copied to clipboard
Consider using the standard library "embed"
Consider using the standard library embed
It uses raw data and can reduce the size of the executable program compared with the current way
I agree!!! Good idea
Have you taken into consideration this will introduce beaking dependency for everyone using the go version before go1.16? I don't see if this is going to be approved before go.17 is release.
FYI, it looks like this work never go merged in. For those interested, I did write a drop-in replacement w/ go:embed
and fs.FS
, but it is incompatible with earlier versions of Go.
https://github.com/tylfin/gin-swagger-files
Have you taken into consideration this will introduce beaking dependency for everyone using the go version before go1.16? I don't see if this is going to be approved before go.17 is release.
Currently it's possible to lock dependency version using go modules, for those that wants compatibility before go1.16, they can use the library with previous tags and versions
It has any plans to merge this feature soon?
As #16 was merged, should this be closed?
I belive yes