How do I get latest version of gonum@master

10 views
Skip to first unread message

Patricio Whittingslow

unread,
Jul 1, 2022, 9:48:21 AM7/1/22
to gonum-dev
I want to update my module to use latest commit on go master?

I've tried the following go get command with no success:
GOPROXY=direct go get -u gonum.org/v1/gonum/spatial/r3@latest

Sebastien Binet

unread,
Jul 1, 2022, 9:56:18 AM7/1/22
to Patricio Whittingslow, gonum-dev
to get the last revision:
$> go get -u gonum.org/v1/gonum/spatial/r3@master

-s

Dan Kortschak

unread,
Jul 1, 2022, 5:43:58 PM7/1/22
to gonu...@googlegroups.com
On Fri, 2022-07-01 at 15:55 +0200, Sebastien Binet wrote:
> to get the last revision:
> $> go get -u gonum.org/v1/gonum/spatial/r3@master
>
> -s

And this can be generalised to any particular commit by using @sha,
rather than @master, even commits that are not merged.

Dan

Patricio Whittingslow

unread,
Jul 2, 2022, 1:56:32 AM7/2/22
to gonum-dev
Thanks y'all! It worked!
Reply all
Reply to author
Forward
0 new messages