Hi,

I have a project with a package main and then a few other packages inside 
it, something like:

$GOPATH//src/github.com/me/project-name
$GOPATH//src/github.com/me/project-name/packagea
$GOPATH//src/github.com/me/project-name/packageb

if I run

go build -gcflags "-m -m"

at $GOPATH//src/github.com/me/project-name

I get details referring to main.go

but what I'm looking for is information about packagea and I can't figure 
out what flag to pass to get this to work. Any pointers?

I tried

go build -gcflags "-m -m" github.com/me/project-name/packagea and nothing 
prints out, 

....

And as I was typing more examples of what didn't work, I got it, 

go build -gcflags "-m -m" packagea/file.go


Sending the email anyway in case another person runs into this.

Thanks

Diego

-- 
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.

Reply via email to