feat: complete contract-driven business development and MySQL integration
This commit is contained in:
5
omni.go
5
omni.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user