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

To Be A Gopher

Sun
September 18, 2018

To Be A Gopher

Sun

September 18, 2018
Tweet

More Decks by Sun

Other Decks in Programming

Transcript

  1. TO BE A GOPHER AGENDA ▸ Introduction ▸ Join the

    Gopher-Dojo #3 ▸ Lerning at the Gopher-Dojo ▸ Next step
  2. JOIN THE GOPHER-DOJO #3 GO ͷܦݧ ▸ A Tour of

    Go ▸ Exercise ͕ࣗྗͰղ͚ͣ ▸ GoݴޠʹΑΔWebΞϓϦέʔγϣϯ։ൃ ▸ ࣸܦΛ܁Γฦ͢ ▸ ॲཧͷେ·͔ͳ಺༰͸Θ͔Δ͚Ͳ… ▸ ؆୯ͳ CLI πʔϧͷ࡞੒
  3. JOIN THE GOPHER-DOJO #3 ଎߈ͰԠืͨ͠ʂʂʂ ▸ 1ਓલͷ Gopher ʹͳΓ͔ͨͬͨ ▸

    ಠྗͰௐ΂ΔͨΊͷମܥతͳ஌͕ࣝඞཁ ▸ Go ͷػೳ͕࢖͍͜ͳͤͯΔ͔ෆ҆ͩͬͨ ▸ ΠϯλʔϑΣʔεʁ ▸ ͳΜͱͳ͘ goroutine Λ࢖͍ͬͯͨ ▸ ςετ͸Ͳ͏΍Δͱ͍͍ͷ͔ͳ
  4. LERNING AT THE GOPHER-DOJO ΠϯλʔϑΣʔεʹ͍ͭͯ ▸ Go ͷந৅ԽΛ͢ΔͨΊͷ΋ͷ ▸ ෳ਺ͷ࣮૷Λಉ࣭ͷ΋ͷͱͯ͠ѻ͏

    ▸ ϝιουͷू·Γ ▸ ໌ࣔ͠ͳͯ͘΋ϝιου͕࣮૷͞Ε͍ͯΕ͹ ok ▸ μοΫλΠϐϯάͷҙຯ͕ཧղͰ͖ͨʂ
  5. LERNING AT THE GOPHER-DOJO ςετʹ͍ͭͯ ▸ Ξαʔγϣϯ͕ͳ͍ ▸ ࣗಈͰΤϥʔϝοηʔδΛఏڙ͠ͳ͍ ▸

    => ςετ΋ࣗલͰॻ͖·͠ΐ͏ ▸ ςετ͸ Go Ͱॻ͘ ▸ ςετͷͨΊʹ৽͍͠ݴޠΛ֮͑ͨ͘ͳ͍ ▸ ςʔϒϧۦಈςετͱαϒςετ͕ศར
  6. LERNING AT THE GOPHER-DOJO Ͱ͖ΔΑ͏ʹͳͬͨ͜ͱ ▸ ମܥతʹֶͿ͜ͱ͕Ͱ͖ͨ ▸ ΠϯλʔϑΣʔεͷཧղ͕Ͱ͖ͨ ▸

    ςετͷ͓࡞๏ ▸ ιʔείʔυ΁ͷ఍߅ײ͕ແ͘ͳͬͨ ▸ ௐ΂ํΛ਎ʹ෇͚ͨ ▸ goroutine ʹ͍ͭͯ͸΋͏ͻͱؤுΓ ▸ ฒྻɺฏߦͷ֓೦͸ཧղͰ͖ͨ ▸ ࢖͍ͳ͕Β׳Ε͍ͨ
  7. NEXT STEP ͜Ε͔Β΍Γ͍ͨ͜ͱ ▸ ಓ৔ͰͷֶͼΛ͍ͭͰ΋Ҿ͖ग़ͤΔঢ়ଶʹ͍ͨ͠ ▸ ΍Γ࢒ͨ͠՝୊ʹ௅ઓ ▸ goroutin ͷཧղΛਂΊΔ

    ▸ ςετΛॆ࣮ͤͨ͞ίʔυΛॻ͘ ▸ ࢓ࣄͰ Go Λಋೖ͍͖͍ͯͨ͠ ▸ API Λ࡞ͬͯӡ༻͍ͨ͠ʂ
  8. NEXT STEP GOPHER ಓ৔ʹ͍ͭͯ ▸ Slack ͷϫʔΫεϖʔεͰ͙͢ʹ࣭໰͕Ͱ͖ͯศར ▸ Go ʹؔ͢Δ৘ใ͕໢ཏ͞ΕͨεϥΠυ

    ▸ ՝୊͕ຖिग़ͯ෮शʹͳΔ ▸ ղ͚ͳ͍໰୊͸ଞͷࢀՃऀͷํͷ PR Λݟͳ͕Βษڧͨ͠ ▸ ՝୊ͷྔ͕ଟ͍࣌͸΍Γ࢒͕͠ग़ͯ͠·ͬͯչ͍͠… ▸ Go ք۾ͷτϐοΫͳͲ͕ฉָ͚͍ͯ͠ ▸ Gopher con ΍ Go 1.11.0 ͷ࿩ͳͲ