Save 37% off PRO during our Black Friday Sale! »

Replace to GraphQL with Go

A94db87750d77b0e1ff2ff03a40e0f31?s=47 Peranikov
February 10, 2020

Replace to GraphQL with Go

mercari.go #13

A94db87750d77b0e1ff2ff03a40e0f31?s=128

Peranikov

February 10, 2020
Tweet

Transcript

  1. ঎඼௨ใରԠΛH31$ͱ(SBQI2- ͱ3FBDUͰϦϓϨʔεͯ͠Έͨ NFSDBSJHP !1FSBOJLPW

  2. ࣗݾ঺հ w!1FSBOJLPW w$91$PSFUFBN  $VTUPNFSF9QFSJFODF1MBUGPSNUFBN  w5FDI-FBE wLBXBTBLJSCCMPHதͷਓ IUUQTNFEJVNDPNLBXBTBLJSC

  3. $91$PSFUFBNͱ͸ w͓٬༷͕ϝϧΧϦΛ࢖ͬͯ҆શʹऔΓҾ͖Λߦ͏ ͨΊʹ$4 $VTUPNFS4FSWJDF ͕͓໰͍߹Θͤ΍௨ ใͷରԠΛߦ͍ͬͯΔ w$4ϝϯόʔ͕ରԠΛߦ͏ࣾ಺γεςϜΛओʹϝ ϯςφϯε͢ΔνʔϜ

  4. ঎඼௨ใରԠͱ͸ wϝϧΧϦͰ͸ར༻ن໿ʹ൓͢ΔΑ͏ͳग़඼͕͞Ε ͨ৔߹$4͕֬ೝɾରԠΛߦ͍ͬͯΔ w௨ใɾ؂ࢹͷೖΓޱ΋͞·͟· wFH͓٬͞·ɾݖརऀ͞·ɾϧʔϧϕʔεɾ.-

  5. ঎඼௨ใ·ΘΓͷγεςϜΛϦϓϨʔε wڈ೥͔Βલ؀ڥͷγεςϜ͔ΒঃʑʹҠߦ wܦӦ՝୊ͱͯ͠αʔϏε੒௕ʹΑΔ؂ࢹۀ຿ͷਫ਼ ౓ɾੜ࢈ੑ޲্͕ٻΊΒΕ͖ͯͨ wશࣾతͳϚΠΫϩαʔϏεԽͷਪਐ

  6. ϦϓϨʔεલͷΞʔΩςΫνϟ 'SPOUFOE "ENJO4FSWFS "1*4FSWFS

  7. ϦϓϨʔεޙͷΞʔΩςΫνϟ 'SPOUFOE (SBQI2-4FSWFS #BDLFOE4FSWJDFT

  8. ͳͥ(SBQI2-4FSWFS͕ඞཁ w௨ใରԠΛߦ͏ͨΊʹ༷ʑͳσʔλ͕ඞཁ ͓٬ ༷ɾ঎඼ɾ࢖༻੍ݶʜ  wͦΕͧΕͷσʔλ͸֤αʔϏε͕͍࣋ͬͯΔ w֤αʔϏεͷσʔλΛଋͶɺϑϩϯτ͔ΒըҰత ʹΞΫηεͰ͖Δ#''͕ཉ͔ͬͨ͠

  9. (SBQI2-ʹ͍ͭͯ

  10. (SBQI2-ͷྑ͍ͱ͜Ζ wϑϩϯτΤϯυ͕ߏ੒͍ͨ͠ը໘ʹ߹Θͤͯɺॊ ೈʹϦΫΤετΛ౤͛σʔλΛड͚औΔ͜ͱ͕Ͱ ͖Δ w4DIFNBʹܕ͕͋ΔͷͰϑϩϯτόοΫΤϯυڞ ʹܕ҆શͳίʔσΟϯά͕Ͱ͖Δ

  11. .PEFMͷఆٛ

  12. 2VFSZͷఆٛ

  13. 2VFSZͷ࢖͍ํ

  14. .VUBUJPOͷఆٛ

  15. .VUBUJPOͷ࢖͍ํ

  16. (PͰ(SBQI2-Λ։ൃ͢Δ

  17. (P☓(SBQI2-4FSWFS wEFTJHOTHRMHFOΛ࢖༻ wࣾ಺ͷ͞·͟·ͳϥΠϒϥϦ͕(PͰఏڙ͞Εͯ ͍Δ͜ͱ͔Β(PͰ։ൃ͔ͨͬͨ͠

  18. HRMHFOͷಛ௃ w4DIFNB͔Β(PͷίʔυΛੜ੒Ͱ͖Δ wଞͷ(PͰͷ(SBQI2-࣮૷ͱൺֱͯ͠ػೳ͕ଟ͍ w 4FFIUUQTHRMHFODPNGFBUVSFDPNQBSJTPO wৄ͍͠ਓ͕ࣾ಺ʹ͍ͨ w 4FFIUUQTHJUIVCDPNNFSDBSJNUDXFCUSFFEFWFMPQTFSWFSHRMBQJ

  19. $PEFHFO.PEFM (SBQI2- (P

  20. 4DIFNBͱ4USVDUͷόΠϯυ w4DIFNBͱ4USVDUͷpFME໊ɺϝιου໊Ͱࣗಈత ʹόΠϯυ͞ΕΔ w໊લ͕Ұக͠ͳ͍৔߹ɺ4USVDUʹλάΛ෇༩ͯ͠ όΠϯυͰ͖Δ FYAHRMHFOTUBUFA  w ৄ͘͠͸IUUQTHJUIVCDPNEFTJHOTHRMHFOCMPCNBTUFSEPDTDPOUFOUSFGFSFODF SFTPMWFSTNE

  21. HRMHFOZNMͰϞσϧΛࢦఆ͢Δ ࣗલͰ༻ҙͨ͠4USVDUΛࢦఆͰ͖Δ 1SPUPDPM#V⒎FST͔Βੜ੒ͨ͠4USVDU΋ࢦఆͰ͖Δ

  22. $PEFHFO2VFSZ (SBQI2- (P

  23. pFMEʹSFTPMWFSΛੜ੒

  24. $PEFHFO.VUBUJPO (SBQI2- (P

  25. HRMHFOͰͷ։ൃϑϩʔ w4DIFNBΛఆٛ͢Δ wϑϩϯτΤϯυΤϯδχΞΛަ͑ͯϨϏϡʔ͢Δ wϑϩϯτͱόοΫΤϯυͷίʔυΛੜ੒͢Δ w֤3FTPMWFSΛ࣮૷͍ͯ͘͠

  26. ։ൃͯͯ͠ྑ͔ͬͨ͜ͱ w4DIFNB'JSTUͰ։ൃ͕ਐΊΒΕΔͷͰɺࣗવͱϑ ϩϯτΤϯυͱฒߦͯ͠։ൃ͕ਐΊΒΕͨ w4DIFNBͷܕ͕(P5ZQF4DSJQUͱ૬ੑ͕ྑ͍

  27. ։ൃͯͯͭ͠Β͔ͬͨͱ͜Ζ wH31$4FSWFS΋ಉ࣌ʹ։ൃ͍ͯ͠Δͱ*'ͷม׵෦ ෼ͷ࣮૷͕େม w֤NJDSPTFSWJDF͕࣋ͭ΂͖FOVNͳͲͷυϝΠϯ ஌ࣝΛ(SBQI2-ଆʹ΋࣋ͨͳ͚Ε͹͍͚ͳ͍

  28. ·ͱΊ w঎඼௨ใରԠγεςϜΛNJDSPTFSWJDFʹ߹Θͤͨ ܗʹϦϓϨʔεͨ͠ wHRMHFO͕͘͢͝ศར w(Pͱ(SBQI2-͸Ҋ֎૬ੑ͕͍͍