Skip to content

kyu08/go-api-server-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api-server-playground

kyu08がGoの素振りをするためのリポジトリです。

実装内容や使用技術など

題材 Twitter風のAPIサーバー
言語 Go 1.25.4
通信方式 gRPC
DB Cloud Spanner (Emulator)
CI GitHub Actions
依存関係更新 dependabot
Goコードのlint golangci-lint
アーキテクチャ レイヤードアーキテクチャ + CQRS

詳細はdocs/ARCHITECTURE.mdを参照。

各種手順

エンドポイント更新時の手順

  1. proto/twitter.protoを更新
  2. make gen-proto

ローカルでの開発手順

  1. make dev-toolsで必要なツールをインストール
  2. 必要に応じてmake test, make lintなどを実行

About

GoでAPI Serverを書くときのもろもろを検証するレポ

Resources

License

Stars

Watchers

Forks

Contributors 5