Upgrade to Pro — share decks privately, control downloads, hide ads and more …

golang

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

 golang

Avatar for tsuyoshi nakamura

tsuyoshi nakamura

August 31, 2016
Tweet

More Decks by tsuyoshi nakamura

Other Decks in Technology

Transcript

  1. 開発周り •  /usr/local/goに最新のgoをダウンロードして解凍。.bashrcを設定で終わり export GOPATH=~/.go export PATH=$PATH:/usr/local/go/bin •  エディタ:fatih/vim-go(オールインワンプラグイン)あれば良い感じがする vimのパッケージ管理(neobundle)経由で「NeoBundle

    ‘fatih/vim-go’」で速攻入る   それ以外に使っているプラグインは     「scrooloose/syntastic」シンタックスチェック     「ervandew/supertab」tabでコード補完 •  IntelliJ周りは知らん •  標準でテストライブラリがgo言語にはあるけど「assertequals」使えないので   (https://github.com/stretchr/testify)使おうと思ってるけど試してない   ※吉田さん教えてくれた •  対話式の確認したい時(https://github.com/motemen/gore)。REPL   ※吉田さん教えてくれた   コードの変更、保存をトリガーにホットデプロイのリロードしてくれるプラグインも   あるらしいので、合わせて検討中