議程9 - A Deep Dive into Merpay's Campaign System: Architectural Insights and Evolution - Peng JouHsuan

tags: GopherDay2024 Agenda
HackMD Error: 403 error

Slido 連結

投影片連結

提供支付、二手拍賣、無卡分期功能
Campaign 類型

  • 要先用 Easypay、再用 Mercard 消費等等步驟
  • 一個人有個最高能拿到的獎勵限額

Service 目的

  • 管理 Campaign, reward, reward notification

Service Design

Test

  • Mock DB, Pub/Sub and Fake Auth
  • Cloud Spanner emulator
  • Antipattern: 寫測試但 go mock 都回傳一樣的資料
  • Scenarigo

Clean architecture 的坑:資料夾很多、很容易找不到東西在哪裡

Select a repo