You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing images with digest like docker.io/library/nginx@sha256:ed6d2c43c8fbcd3eaa44c9dab6d94cb346234476230dc1681227aa72d07181ee using Parse doesn't work without having blank imports for a package that registers hash functions, for example having something like import _ "crypto/sha256".
go-digest mention that in their readme as it can lead to some confusion.
IMO, I think it should be mentioned somewhere that you need to have these imports or referencing go-digest for example as it is the package where this behavior originates but that's up to you.
Parsing images with digest like
docker.io/library/nginx@sha256:ed6d2c43c8fbcd3eaa44c9dab6d94cb346234476230dc1681227aa72d07181ee
usingParse
doesn't work without having blank imports for a package that registers hash functions, for example having something likeimport _ "crypto/sha256"
.go-digest
mention that in their readme as it can lead to some confusion.IMO, I think it should be mentioned somewhere that you need to have these imports or referencing
go-digest
for example as it is the package where this behavior originates but that's up to you.playground link.
Thanks!
The text was updated successfully, but these errors were encountered: