init push
This commit is contained in:
9
internal/transport/http/handlers/user_getter.go
Normal file
9
internal/transport/http/handlers/user_getter.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package handlers
|
||||
|
||||
import "wucher/internal/shared/pkg/userctx"
|
||||
|
||||
// WireUserNameGetter is a convenience wrapper around userctx.WireUserNameGetter.
|
||||
// Call this once during application startup to enable LastName resolution in handlers.
|
||||
func WireUserNameGetter(getter userctx.UserNameGetter) {
|
||||
userctx.WireUserNameGetter(getter)
|
||||
}
|
||||
Reference in New Issue
Block a user