SetFullName sets the user full name in the context
(ctx context.Context, fullName string)
| 252 | |
| 253 | // SetFullName sets the user full name in the context |
| 254 | func SetFullName(ctx context.Context, fullName string) context.Context { |
| 255 | return context.WithValue(ctx, fullNameKey, fullName) |
| 256 | } |
| 257 | |
| 258 | // FullName returns the full name from context |
| 259 | func FullName(ctx context.Context) string { |