SetIsEnabled sets a flag indicating if account is enabled
(ctx context.Context, enabled bool)
| 266 | |
| 267 | // SetIsEnabled sets a flag indicating if account is enabled |
| 268 | func SetIsEnabled(ctx context.Context, enabled bool) context.Context { |
| 269 | return context.WithValue(ctx, isEnabledFlag, enabled) |
| 270 | } |
| 271 | |
| 272 | // IsEnabled returns the a boolean indicating if the enabled flag is |
| 273 | // set and is true or false |
no outgoing calls
no test coverage detected