Can you explain more specifically what you don't understand? The example seems pretty clear: Say you currently require the latest master commit (e.g. by using a pseudo-version), which is a couple commits ahead of the latest released version, then "latest" will select the release, while "upgrade" will select the current commit.
On Sat, Sep 14, 2019 at 10:35 AM T L <tapir....@gmail.com> wrote: > The doc https://golang.org/cmd/go/#hdr-Module_queries says: > > The string "upgrade" is like "latest", but if the module is currently >> required at a later version than the version "latest" would select (for >> example, a newer pre-release version), "upgrade" will select the later >> version instead. >> > > But I don't very get it. Who can explain it more to let me understand it > better? > > > -- > 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/6a4ace13-3ad8-4154-846c-e8d5f343b022%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/6a4ace13-3ad8-4154-846c-e8d5f343b022%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAEkBMfEKFJc2wGWLOJwutZ7NZs7JKKbRzdqrxKVO-xsxSc7TxA%40mail.gmail.com.