summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-06 17:37:37 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-06 17:37:37 +0530
commit554975e37db43e1f0f26c740ec5593603d67f601 (patch)
tree23edf709de24c469b726a4ed5832a894ba153a6e /cmd
parentf2af6ba15466f7ac39f2c12ea29fab5b0c5415c4 (diff)
usage: don't export unnecessary types
Diffstat (limited to 'cmd')
-rw-r--r--cmd/redq/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/redq/main.go b/cmd/redq/main.go
index abac395..4514efc 100644
--- a/cmd/redq/main.go
+++ b/cmd/redq/main.go
@@ -35,8 +35,8 @@ func main() {
}
sigs := make(chan os.Signal, 1)
signal.Notify(sigs, os.Interrupt, os.Kill, syscall.SIGTERM)
- go func () {
- <- sigs
+ go func() {
+ <-sigs
u.CleanUp(queries, ctx)
os.Exit(0)
}()