고 언어 (Go Lang)

Go 커맨드라인 (GO CLI)

종우공간 2021. 12. 15. 14:12

go build:

compiles a bunch of go source code files

 

go run:

compiles and executes one or two files

 

go fmt

formats all the code in each file in the current directory

 

go install:

compiles and "installs" a package

 

go get:

downloads in raw source code of someone else's package

 

go test:

runs any tests associated with the current project