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
Today when importingmimetype using go mod vendor some unnecessary files ar e included since they are in the same package as the go files
By moving mime.go, mimetypes.go and tree.go to folder pkg it is possible to reduce the size of vendored files by almost 1.5M. It is not a lot but if applications vendoring lots of libs they accumulate
Thanks!
P:S I can do the work and send a PR if you want
The text was updated successfully, but these errors were encountered:
Today when importing
mimetype
usinggo mod vendor
some unnecessary files ar e included since they are in the same package as the go filesBy moving
mime.go
,mimetypes.go
andtree.go
to folderpkg
it is possible to reduce the size of vendored files by almost 1.5M. It is not a lot but if applications vendoring lots of libs they accumulateThanks!
P:S I can do the work and send a PR if you want
The text was updated successfully, but these errors were encountered: