diff --git a/example/caller.go b/example/caller.go index 53090c3..6192a82 100644 --- a/example/caller.go +++ b/example/caller.go @@ -28,9 +28,9 @@ func Main() { } }() - key := os.Getenv("KEY") + key := os.Getenv("GITHUB_TOKEN") if key == "" { - err = fmt.Errorf("must set KEY=") + err = fmt.Errorf("must set GITHUB_TOKEN=") return }