From: Alexei Sholik hello
command, producing an executable
binary. It then installs that binary to the workspace's bin
directory as hello
(or, under Windows, hello.exe
).
-In our example, tha will be $GOPATH/bin/hello
, which is
+In our example, that will be $GOPATH/bin/hello
, which is
$HOME/go/bin/hello
.
hello
program.
-Again, the first step is to choose a package path (we'll use
+Again, the first step is to choose a package path (we'll use
github.com/user/newmath
) and create the package directory:
-Go command exectuables are statically linked; the package objects need not +Go command executables are statically linked; the package objects need not be present to run Go programs.
@@ -535,7 +535,7 @@ tree should now now look like this: bin/ hello # command executable pkg/ - linux_amd64/ + linux_amd64/ code.google.com/p/go.example/ newmath.a # package object github.com/user/