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

Go+Web App - Shibuya.go#1

Go+Web App - Shibuya.go#1

A75c909334d4dc6c7dca7bd915eebdbf?s=128

Shintaro Kaneko

February 16, 2016
Tweet

Transcript

  1. Go+Web App at eureka @kaneshin

  2. Shintaro Kaneko (kaneshin) - Principal Engineering Manager at eureka, Inc.

    kaneshin kaneshinth shintaro.kaneko Mathematics: Optimization Problems 2010 2012 2011 Quality Assurance Engineer at eureka Real Estate in Vancouver, Canada
  3. None
  4. None
  5. For what purpose?

  6. For what purpose ԿͷͨΊʹGoݴޠ࢖༻͍ͯ͠·͔͢ʁ ‣ Command Line Tool? ‣ Web

    Application? ‣ GUI Tool? ‣ gomobile?
  7. Go+Web App at eureka

  8. Microservices

  9. None
  10. Microservices Structure ‣ όοΫΤϯυ͸શͯGoͰॻ͔Ε͍ͯ·͢ ‣ ϑϩϯτʹAngularJSΛ࢖༻ ‣ ඪ४ͷhtml/template΋ར༻͍ͯ͠Δ ‣ WAF͸RevelͰͨ͠ʢաڈܗʣ

  11. Repository Structure

  12. payment.git pairs.git

  13. Repository Structure ‣ ґଘύοέʔδͷόʔδϣϯΛෳ਺αʔϏεͰߟྀ͠ͳ͍ͰࡁΉ ‣ vendorʢґଘʣ؅ཧָ͕ ‣ coreͱͳΔύοέʔδͷޓ׵΋શͯͷαʔϏεͰऔΕ͍ͯΔ ‣ ͭ·ΓɺRollback͕༰қˡӡ༻্ɺ௒ॏཁ

  14. Revel (WAF) ໰୊

  15. ginͱ͍͏WAFʹࡌͤସ͑·ͨ͠

  16. ʢ࣮͸ʣGoͷษڧձͰొஃ͢Δ౓ʹ RevelΛDis͖ͬͯ·ͨ͠

  17. Revel໰୊ ‣ GoݴޠͰϑϧελοΫʹ͍ۙWAF ‣ MicroserviceԽʹ͸ෆ޲͖ ‣ MicroserviceԽ͠ͳ͍ͳΒ࢖͍қ͍

  18. Revel໰୊ ‣ ginͰ͸Revelͷྑ͍ॴΛٵऩ ‣ Live ReloadػೳʢGoʗ੩తϑΝΠϧͰϦϩʔυํ๏͕ҧ͏ʣ ‣ codegangsta/ginΛվ଄ͯࣗ͠લ ‣ https://github.com/kaneshin/lime

    ‣ ഑෍ύοέʔδίϚϯυ (revel build/package) ‣ CLIͱͯ͠pairsͷϦϙδτϦʹ࡞੒
  19. None
  20. ·ͱΊ ‣ Revel͸MicroserviceԽ͠ͳ͍ͳΒ։ൃ͠΍͍͢ ‣ MicroserviceԽ͢ΔͳΒ΍Ί͓͍ͯͨํ͕ແ೉ ‣ Gin͸ܰྔͰߴ଎ͳͷͰྑ͍ ‣ RevelͷΑ͏ͳػೳ͸ແ͍͕ɺࣗ෼Ͱ࣮૷͢Ε͹ok

  21. Thank you Credit: NASA Earth Observatory/NOAA NGDC