Offline version of A Tour of Go

429 views
Skip to first unread message

王富民awaw

unread,
Sep 26, 2023, 2:29:57 AM9/26/23
to golang-nuts
Hi Friends of Go

Is there an offline version of A Tour of Go?
Could be in PDF or Powerpoint or preferably Go's beautiful present format.

A quick Google search didn't reveal anything relevant.
Thanks in advance.

Roland Müller

unread,
Sep 26, 2023, 7:06:25 AM9/26/23
to golang-nuts
The tour can be locally installed.

https://pkg.go.dev/golang.org/x/website/tour#section-readme

go get golang.org/x/tour

In the tour/ directory
go run .

Then local Tour of Go is here:
http://localhost:3999/
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/65d30564-2fb2-4f1f-9bc3-bfdd159b2febn%40googlegroups.com.
>

Pankaj Jangid

unread,
Sep 26, 2023, 10:22:41 AM9/26/23
to golang-nuts

王富民awaw

unread,
Sep 26, 2023, 10:47:10 PM9/26/23
to golang-nuts
Thanks all for the instructions.
I was initially thinking something closer to a single file like PDF.
However, I might get away with a web server, too. Thanks

Tony M

unread,
Apr 24, 2024, 8:41:42 PM4/24/24
to golang-nuts
thanks this was helpful.  Is there a good rule of thumb when updating old "go get" instructions. e.g. 

but when i try 
 go install golang.org/x/tour

I find myself running into this issue installing any older modules before the "go get" deprecation
Reply all
Reply to author
Forward
0 new messages