(ctx context.Context)
| 243 | } |
| 244 | |
| 245 | func PasswordGeneration(ctx context.Context) uint { |
| 246 | elem := ctx.Value(passwordGenerationFlag) |
| 247 | if elem == nil { |
| 248 | return 0 |
| 249 | } |
| 250 | return elem.(uint) |
| 251 | } |
| 252 | |
| 253 | // SetFullName sets the user full name in the context |
| 254 | func SetFullName(ctx context.Context, fullName string) context.Context { |
no outgoing calls
no test coverage detected