(ctx context.Context, val uint)
| 239 | } |
| 240 | |
| 241 | func SetPasswordGeneration(ctx context.Context, val uint) context.Context { |
| 242 | return context.WithValue(ctx, passwordGenerationFlag, val) |
| 243 | } |
| 244 | |
| 245 | func PasswordGeneration(ctx context.Context) uint { |
| 246 | elem := ctx.Value(passwordGenerationFlag) |