Re: [go-nuts] suggestion for reader exercises throughout the go tour

2018-04-12 Thread Robert P. J. Day
On Thu, 12 Apr 2018, Robert P. J. Day wrote: > again, from the perspective of a beginner, a suggestion for the > tour to get the reader more involved would be to add simple > exercises to some of the pages to get the reader to test things. ... snip ... never mind, as i work thr

[go-nuts] suggestion for reader exercises throughout the go tour

2018-04-12 Thread Robert P. J. Day
again, from the perspective of a beginner, a suggestion for the tour to get the reader more involved would be to add simple exercises to some of the pages to get the reader to test things. for example, on the page "Variables with initializers" here: https://tour.golang.org/basics/9 a simple

Re: [go-nuts] Re: where would one find "go tool tour" with fedora-installed pkgs?

2018-04-12 Thread Robert P. J. Day
On Wed, 11 Apr 2018, peterGo wrote: > Robert, > > On Ubuntu, I ran, > > $ go get -v -u golang.org/x/tour/... > $ gotour > > Please file a complaint about the missing instructions: > https://github.com/golang/go/issues. done: https://github.com/golang/go/issues/24819 rday -- You received thi

[go-nuts] where would one find "go tool tour" with fedora-installed pkgs?

2018-04-11 Thread Robert P. J. Day
more sophomoric questions -- following along on the go tour: https://tour.golang.org/welcome/3 which suggests that, after i install go, i can run: $ go tool tour on my fedora 28 beta system: $ go tool tour go tool: no such tool "tour" $ should i have expected this? is there a separ

Re: [go-nuts] [NEWBIE] what means importing a file versus a directory?

2018-04-11 Thread Robert P. J. Day
On Wed, 11 Apr 2018, andrey mirtchovski wrote: > > ah, it's all (i think) clear now. so, based on what i see under > > ${GOROOT}/src/hash, i could do any or all of the following: > > > > import "hash" > > import "hash/adler32" > > import "hash/crc32" > > import "hash/crc64" > > import

Re: [go-nuts] [NEWBIE] what means importing a file versus a directory?

2018-04-11 Thread Robert P. J. Day
On Wed, 11 Apr 2018, Ian Lance Taylor wrote: > On Wed, Apr 11, 2018 at 6:11 AM, Robert P. J. Day > wrote: > > > > total beginner question here, but the docs seem vague or > > inconsistent on what should be a simple question -- what does it mean > > to import a

[go-nuts] [NEWBIE] what means importing a file versus a directory?

2018-04-11 Thread Robert P. J. Day
total beginner question here, but the docs seem vague or inconsistent on what should be a simple question -- what does it mean to import a name that is a single .a file versus importing a directory name from under GOROOT (in my case, on fedora, /usr/lib/golang). first, running on fedora 28 be