dguhr-rh
04/28/2023, 10:06 AM//go:build !release
to that file and changing our build to run using -tags release
did the trick (see also: https://github.com/golang/go/issues/12120#issuecomment-163836886 ).
Then out of curiosity, I also checked for testify using strings <my-binary> | grep testify
, and it is also included in our binary. Then I checked our code if sth imports testify, our code did not (out of _test
, which doesn't include it in the binary). So I asked myself why and could locate it in the files using or initializing the authzed client (to be fair, 99% locate it using go list -json | jq .Deps | grep testify
inspired by that article on package level, testify is only shown inside the Deps
in the package where we use /init the client )jzelinskie
04/28/2023, 2:44 PMdguhr-rh
04/29/2023, 6:08 AM