Say, i have a module A (github.com/username/foo/v1) with a replace of a third-party package in its go.mod:
replace github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt v3.2.1+incompatible Now, i require module A/v1 package from module A in my module B containing the main package: require ( github.com/username/foo/v1 ) I want to make sure that, in my module B, "github.com/golang-jwt/jwt v3.2.1" is pulled in. I could verify that using the https://github.com/Helcaraxan/gomod tool: $ ~/go/bin/gomod reveal | grep jwt 'github.com/dgrijalva/jwt-go' is replaced: github.com/launchdarkly/ld-relay/v6 -> github.com/golang-jwt/jwt @ v3.2.1+incompatible Is there a way to verify the above using one of the go mod or go build/list commands? Thanks, Amit. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CANODV3kGLUnA0cz_NTBZnYL5%2BrO7rec4WD6FvBqz9ohfNLMMRw%40mail.gmail.com.