Goaを使ってAPIサーバ開発してみた / Develop API server by Goa

Goaを使ってAPIサーバ開発してみた / Develop API server by Goa

DMM.go #2 登壇資料

サンプルコード
https://github.com/yyh-gl/goa-tutorial

B932b972f9334d4d333224468f3f84d9?s=128

yyh-gl

May 15, 2020
Tweet

Transcript

  1. 13.

    >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 13
  2. 14.

    >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 14 ZBNMΛॻ͘ͷ͸ͭΒ͍
  3. 15.

    >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 15 ɾ୯ମͰ͸υΩϡϝϯτ͔Βͷ
 ίʔυੜ੒͕Ͱ͖ͳ͍ ɾίϝϯτ͕๲େʹͳΔ
  4. 16.

    >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 16 ɾQSPUPͷ಺༰ΛυΩϡϝϯτԽͰ͖Δʂ ɾQSPUP͔ΒίʔυΛੜ੒Ͱ͖Δʂ ɾ࠷ߴʂͰ΋31$ɻɻɻ
  5. 17.

    >> ީิ w0QFO"1*ʢPQFOBQJZNM㲈υΩϡϝϯτʣ w HPTXBHHFS w PQFOBQJZNMʢTXBHHFSZNMʣ͔Β(PͷίʔυΛੜ੒ w TXBH w

    (Pίʔυ಺ͷίϝϯτ͔ΒPQFOBQJZNMΛੜ੒ w (PB w %4-͔ΒPQFOBQJZNMͱ(PͷίʔυΛੜ੒ w1SPUPDPM#V⒎FST w H31$ H31$6* w *%-͔ΒυΩϡϝϯτͱ(PͷίʔυΛੜ੒ 17 ɾ%4-͔ΒυΩϡϝϯτΛੜ੒Ͱ͖Δʂ ɾ%4-͔ΒίʔυΛੜ੒Ͱ͖Δʂ ɾ%4-ࣗମ(PͳͷͰֶशίετ͸গͳΊ ͍͍Ͷʂ 5-