Clean Architecture Go
#go
#クリーンアーキテクチャ
bxcode
https://github.com/bxcodec/go-clean-arch
インターフェイス無し
テスト有り
initでsqlの初期化をし、sqlのstructをリポジトリに渡している
echo
viperでjsonを読み込み
Handler
echoのルーティング設定
Repository
普通
Usecase
普通
--------------------------------------------------
Clean Architecture
router→controller
routerでginのcontextをcontrollerに渡している