Goでテンプレートからファイルを自動生成するCLIを作る

 Goでテンプレートからファイルを自動生成するCLIを作る

KazukiHayase

May 24, 2023

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

24 slides
  1. ࢖༻ͨ͠ϥΠϒϥϦ • cobra ◦ CLIΛ؆୯ʹ࡞੒Ͱ͖ΔϥΠϒϥϦ ◦ Kubernetes΍GitHub CLIͰ΋࢖༻͞Ε͍ͯΔ • text/template

    ◦ ςϯϓϨʔτΛݩʹจࣈྻΛੜ੒͢Δඪ४ϥΠϒϥϦ ◦ ؔ਺΍ม਺ɺfor΍ifͳͲͷ੍ޚߏจ΋ςϯϓϨʔτʹຒΊࠐΊΔ

More Decks by KazukiHayase

Other Decks in Technology