feat: complete contract-driven business development and MySQL integration

This commit is contained in:
2026-09-24 21:56:04 +08:00
parent f9afb8f8dd
commit f5478cdc76
108 changed files with 6557 additions and 550 deletions

View File

@@ -97,3 +97,8 @@ func NotFound(code, message string) *APIError { return apierrors.NotFound(code,
func Internal(cause error) *APIError { return apierrors.Internal(cause) }
func PrincipalFromContext(ctx *Context) (Principal, bool) { return auth.FromContext(ctx) }
// WithLogInstance borrows an independent logger for this application.
var WithLogInstance = config.WithLogInstance
var WithRequestPolicy = config.WithRequestPolicy