refactor: centralize protobuf and remove go-zero

This commit is contained in:
2026-08-09 15:10:19 +08:00
parent 5cc5fd92ed
commit 4bbed3156c
357 changed files with 14208 additions and 19903 deletions

13
shared/logging/context.go Normal file
View File

@@ -0,0 +1,13 @@
// Package logging centralizes application logging without coupling services to a framework.
package logging
import (
"context"
"log/slog"
)
// Context returns the process logger. The context parameter keeps call sites ready for
// a future trace-aware handler without imposing one on every service today.
func Context(_ context.Context) *slog.Logger {
return slog.Default()
}