On Mon, Aug 6, 2018 at 7:09 PM, John More <[email protected]> wrote: > following the tutorial at https://golang.org/doc/code.html the go install I > am confused by the following statement: > > > Whenever the go tool installs a package or binary, it also installs whatever > dependencies it has. So when you install the hello program > > $ go install github.com/user/hello > > the stringutil package will be installed as well, automatically. > > Does this mean stringutil.a will show up in the pkg folder or do I have to > do I have to explicitly install the stringutil.go file. > > Following the instructions does not produce the suggested output that > includes the stringutil.a file under the pkg directory. > > Am I missing some compiler flags or an environment variable?
Sorry, this time replying to all. I don't think that statement is accurate. I think that's a bug in go/doc/code.html. It's only true if you use the -i option. Ian -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
