The go.sum file in the golang.org/x/image repo has a line that is not
another golang.org.x/* module:

github.com/yuin/goldmark v1.4.13/go.mod
h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=

https://github.com/golang/image/blob/2b687b56714d59d061135c735913a64fe2b70778/go.sum#L1

That line was added in a go...@golang.org authored commit last October:
https://github.com/golang/image/commit/ffcb3fe7d1bf4ed2e01a95a552bb3b7f5dab24d1

I'm just curious why goldmark is considered a dependency. "go mod why"
and plain old "grep" doesn't give me any leads.

---
$ git checkout ffcb3fe7d1bf4ed2e01a95a552bb3b7f5dab24d1
HEAD is now at ffcb3fe go.mod: update golang.org/x dependencies

$ go mod why github.com/yuin/goldmark
# github.com/yuin/goldmark
(main module does not need package github.com/yuin/goldmark)

$ grep goldmark -R .
./go.sum:github.com/yuin/goldmark v1.4.13/go.mod
h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
---

Am I holding "go mod why" wrong? What else can I try?

-- 
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/CAOeFMNWd1yn-Og8zdKfzqCAc90-hwEeBV%2Br-Dkgjie23bgDdVQ%40mail.gmail.com.

Reply via email to