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

Go初学者、最初の1週間の学び

 Go初学者、最初の1週間の学び

2022年1月29日 Kyoto.go remote #27 新春 Discord LT 会にて発表したLT資料です。

Presented in Kyoto.go remote #27, 8th Feb. 2022.

Nozomu Ikuta

January 29, 2022
Tweet

More Decks by Nozomu Ikuta

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ About Me 🙋 • Twitter/GitHubɿˏNozomuIkuta • ϑϩϯτΤϯυΤϯδχΞ • Vue.js

    ೔ຊϢʔβʔάϧʔϓίΞελοϑʢ2022೥౓ʣ • Nuxt.js ίϛϡχςΟϝϯόʔ • ҰݴɿGitHub Issues͸࠷ߴͷSNSɻ໷த·Ͱ΍Γ͕ͪɻ
  2. commitlint Tool Spec 📄 • GitίϛοτϝοηʔδͷϦϯλʔ • Conventional Commits ͷtypeͱscopeΛࢦఆ͢ΔΑ͏ʹϛχϚϜʹͭ͘Δ

    • ֎෦ϑΝΠϧͰઃఆ͍ͤͨ͞ • YamlಡΈࠐΈʢಡΈࠐΉ͚ͩͰ͜ͷखؒʁʣ • Go ͷ plugin packageΛ࠾༻ • ࢀߟɿGo ੡ CLI ʹϓϥάΠϯػߏΛ࡞Δํ๏nબʢZennʣ
  3. ܕΤϥʔ De fi ned Types 🛡 • `func ([]string) []string`

    Λ `type GetterFunc func ([]string) []string` ʹ·ͱΊͨ • Build͕௨Βͳ͍ • The Go Programming Language Speci fi cationΛࢥ͍ग़͢ • The new type is called a de fi ned type. It is di ff erent from any other type, including the type it is created from.
  4. ຊ೔ͷ·ͱΊ Summary 💡 • ݁ہॻ͔ͳ͍ͱͰ͖ΔΑ͏ʹͳΒͳ͍ • ΤϥʔΞϯυτϥΠΞϧ • ͭ͘Δ΋ͷ͕ͳ͍ͳΒɺϙʔςΟϯά͕͓͢͢Ί •

    εϖοΫ͸αϒηοτ͔Β͸͡ΊΒΕΔ • The Go Programming Language Speci fi cation͸ಡΜͩํ͕͍͍ • ಈ͔ͳ͍ίʔυͷWhyΛࣗྗղܾͰ͖Δ