diff options
author | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-04-06 22:24:09 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-04-06 22:24:09 +0300 |
commit | a0992b6f28b2156e5afc671534164d8c7cf01665 (patch) | |
tree | 1ae0ac2046ac678610333cfdbcf9c5497b0ef411 /main.go | |
parent | fcb71b492a5b69dabb0d6aef969ef0ea8e8ac7a3 (diff) |
поправил флагиv1.0.0
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,6 +24,8 @@ func main() { ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill) defer cancel() + flag.Parse() + cfg := &Config{} fp, err := os.Open(*config) |