Try "go mod why $dependency"; e.g., > go mod why github.com/sourcegraph/jsonrpc2 # github.com/sourcegraph/jsonrpc2 src.elv.sh/pkg/lsp github.com/sourcegraph/jsonrpc2
There's also "go mod graph". On Thu, Jul 11, 2024 at 4:44 PM Alvaro Crespo < alvaro.andres.cre...@gmail.com> wrote: > Hi there! > > I'm not an expert go dev but I'm using > https://cs.opensource.google/go/x/mobile to build a domain layer for both > an Android and an iOS app. First of all, congrats on the good work. The > project is amazing. > > I recently updated the gomobile package version and found out a strange > looking new addition to my go.sum. Namely, this one: > > dmitri.shuralyov.com/gpu/mtl v0.0.0-20221208032759-85de2813cf6b/go.mod h1: > H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= > > I researched a bit and found out Dmitri (great job!) and his package ( > https://dmitri.shuralyov.com/gpu/mtl). But from the description it > doesn't look like something the gomobile project would need to use: > > Package mtl provides access to Apple's Metal API ( > https://developer.apple.com/documentation/metal). > (...) > This package is in very early stages of development. The API will change > when opportunities for improvement are discovered; it is not yet frozen. > Less than 20% of the Metal API surface is implemented. Current > functionality is sufficient to render very basic geometry. > > Is this ok? Using *go mod graph*it appears this is a dependency of > *golang.org/x/exp/shiny > <http://golang.org/x/exp/shiny>,* which I'm also not entirely sure why > its included as a whole. > > Is this something that should be reported? I would love some clarification > on this. > > > -- > 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/aaa96093-696e-469a-895e-9cb99c82fc58n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/aaa96093-696e-469a-895e-9cb99c82fc58n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- 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/CABx2%3DD-q8cLf9cYii_k69pYBC65SgDsV2VCvRA%3DfBDFeZ64gmw%40mail.gmail.com.