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

kamakura.go #1

E1d37b3196a7873ead3d129f8bc3656c?s=47 Masato Hirai
February 28, 2015

kamakura.go #1

kamakura.go でのプレゼン資料

E1d37b3196a7873ead3d129f8bc3656c?s=128

Masato Hirai

February 28, 2015
Tweet

Other Decks in Programming

Transcript

  1. kamakura.go #1

  2. ΍ͬͯͨ͜ͱ • A Tour of Goͷࣸܦ • 1sectionຖɺࣸܦ͢Δɻ • ॻ͘தͰɺॻ͖ํ΍ڍಈͰٙ໰ʹࢥͬͨͱ͜ͱ͔ɺ

    gore ্Ͱ͍ͬͯ͡ΈͨΓ Dash ͰυΩϡϝϯτΈͨΓɾɾɾ • ੒Ռ ·ͩ·ͩઌ௕͍ͳ͊ɾɾɾ • ͢͢ΊΔʹ͋ͨͬͯϩʔΧϧͷ؀ڥͪΐͬͱ͍ͬͨ͡ Γɻɻɻ
  3. ϩʔΧϧGo؀ڥʹ͍ͭͯ

  4. Mac؀ڥΛAnsibleͰͭͬͯ͘Δ • https://github.com/massat/bootstrap • goͷrole

  5. ͍ΕͯΔ΋ͷ • peco • gh-open • ghq • godoc •

    gocode • gore <- NEW!
  6. peco × ghq ศར͗͢Ͱ͢Ͷʂ function peco-ghq-cd () { local selected_dir=$(ghq

    list --full-path | peco --query "$LBUFFER") if [ -n "$selected_dir" ]; then BUFFER="cd ${selected_dir}" zle accept-line fi zle clear-screen } zle -N peco-ghq-cd bindkey '^]' peco-ghq-cd
  7. Sublime Text2 + GoSublime http://qiita.com/makoto_kw/items/5891f857cf4795b6955f • syntax highlight • compileΤϥʔࢦఠ

    • อଘ࣌gofmt
  8. ͓͢͢Ίͷπʔϧɺ؀ڥ͕͋ͬͨΒڭ ͍͑ͯͩ͘͞

  9. kamakura.go ΍ͬͯΈͯ • ΋͘΋ͬͯ͘͜Μͳײ͡ • Ͳ͏Ͱͨ͠ʁ (࠙਌ձͰ) • ΍Γ͍ͨ͜ͱʁʢ࠙਌ձͰʣ