On Wed, Apr 24, 2024 at 06:24:33PM +0100, Steve Mynott wrote:
> Is there any difference between "go build" and "go build ."?

The last param of "go build" is the package to build. If you don't specify
anything, it builds the package in the current directory.

In you second case, it builds the current directory, so effectively, it's
just like the first case.

So no, there's no difference.

Henrique

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ZilM5Akxi5qCOAzs%40localhost.

Reply via email to