You are right, using the -i option did the deed. Thanks John On Tue, Aug 7, 2018 at 1:26 AM, Ian Lance Taylor <i...@golang.org> wrote:
> On Mon, Aug 6, 2018 at 7:09 PM, John More <jm...@tele-metron.com> 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 > -- John More 613-354-1234 613.328.8885 -- 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. For more options, visit https://groups.google.com/d/optout.