This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://flagd.dev/schema/v0/flags.json", | |
| "flags": { | |
| "AllowAutoUpgrade": { | |
| "state": "ENABLED", | |
| "variants": { | |
| "on": true, | |
| "off": false | |
| }, | |
| "defaultVariant": "off", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // NOTE: This is not a solution with performance in mind. | |
| // This is to understand basic working of waitgroup as well as channels | |
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| ) | |
| type waitGroup struct { |