✏️ Context not Cotext

This commit is contained in:
Dan Jones 2024-12-03 15:20:06 -06:00
commit 1abe398c7a
3 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,6 @@
package main
import (
"context"
"fmt"
"os"
@ -26,7 +25,7 @@ func main() {
os.Exit(2)
}
ctx, done := c.SelfCancelingCotext(context.Background())
ctx, done := c.SelfCancelingContextFromBackground()
defer done()
var walker convids.ShowWalker

View file

@ -10,7 +10,7 @@ import (
)
func main() {
ctx, done := c.SelfCancelingCotext(context.Background())
ctx, done := c.SelfCancelingContext(context.Background())
defer done()
ctx = chill.Chill(ctx)
s := spin.Spin(ctx, "Waiting for CPU to cool...")