HomeToolsAbout a20k

Run

Running Go File/Packages

run compiles then runs a main package comprised of the .go files.

  • The command is compiled to a temporary folder.
# compile and run the go package go run main.go

install and build compiles the files into binaries.

# compile the packages named by imports, along with dependencies, but doesn't install the results go build file_path # compiles and installs the packages named by the imports go install file_path
© VincentVanKoh