일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 구조체
- 깃
- 도커
- C# delegate
- Python
- Flutter
- Unity
- C++
- C언어 포인터
- docker
- 다트 언어
- Houdini
- c언어
- vim
- 플러터
- c#
- github
- gitlab
- c# winform
- Data Structure
- 포인터
- Algorithm
- jupyter lab
- jupyter
- HTML
- dart 언어
- c# 윈폼
- c# 추상 클래스
- git
- 유니티
Archives
- Today
- Total
nomad-programmer
[Programming/Go] OSX에서 Go 설정 본문
// home brew로 go 설치
brew install go
// .bashrc나 .zshrc에 환경변수 설정
export GOPATH="${HOME}/.go"
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
// godoc 설치
go get golang.org/x/tools/cmd/godoc
// golint 설치
go get github.com/golang/lint/golint
만약 VSCode를 쓴다면 아래의 Go Extension 설치
https://marketplace.visualstudio.com/items?itemName=ms-vscode.Go
Go - Visual Studio Marketplace
Go for Visual Studio Code This extension adds rich language support for the Go language to VS Code. Read the Changelog to know what has changed over the last few versions of this extension. Table of Contents Language Features IntelliSense Auto Completion o
marketplace.visualstudio.com
만약 Vim에다 위에서 설치한 golint를 적용하고자 한다면 아래 링크 참조
https://github.com/golang/lint
golang/lint
[mirror] This is a linter for Go source code. Contribute to golang/lint development by creating an account on GitHub.
github.com
Comments