go

Setup

1
2
3
4
vi ~/.bash_profile
export GOPATH = /Users/_username/Desktop/git/_projectName
echo $GOPATH # 고패스 확인
source ~/.bash_profile

Type

type assertion

1
variable.(type)

Goland

Gland 자동 copy right

Preferences - Editor - File and Code Templates - Files 탭에서 Go File 클릭 - package ${GO_PACKAGE_NAME} 앞에 copyright 주석을 추가하시면 됩니다!

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×