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

goaを導入した話

kyokomi
June 16, 2017

 goaを導入した話

クラスター株式会社のバックエンドWebAPI開発時にgoaを導入した話。Tipsなどを

kyokomi

June 16, 2017
Tweet

More Decks by kyokomi

Other Decks in Technology

Transcript

  1. generate͢Δखॱ ɾdoc.goʹgo generate༻ͷίϝϯτΛهࡌ ɾgenͱ͍͏σΟϨΫτϦʹ_designԼͷมߋ࣌ʹຖճ ্ॻ͖Ͱੜ੒͠ɺඞཁͳίʔυΛίϐϖ͢Δ ɾ͜ͷgenσΟϨΫτϦ͸.gitignoreͰcommit͠ͳ͍Α͏ ʹ͠ɺCIͰgenerate͢ΔΑ͏ʹͨ͠ //go:generate goagen -o

    gen main --force -d github.com/Xxxxx/xxxxxxx_room_api/_design //go:generate goagen -o gen app -d github.com/Xxxxx/xxxxxxx_room_api/_design //go:generate goagen -o gen swagger -d github.com/Xxxxx/xxxxxxx_room_api/_design