From d545a850f045cb471ea4b60b0f36d8f37d2e2213 Mon Sep 17 00:00:00 2001 From: Tony Worm Date: Sat, 7 Aug 2021 22:45:52 -0400 Subject: [PATCH] remove some print statements Signed-off-by: Tony Worm --- lib/mod/cache/write.go | 2 -- lib/yagu/repos/github/client.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/mod/cache/write.go b/lib/mod/cache/write.go index 0f519dce4..3adbd267d 100644 --- a/lib/mod/cache/write.go +++ b/lib/mod/cache/write.go @@ -1,7 +1,6 @@ package cache import ( - "fmt" "path/filepath" "github.com/go-git/go-billy/v5" @@ -22,7 +21,6 @@ func Outdir(lang, remote, owner, repo, tag string) string { } func Write(lang, remote, owner, repo, tag string, FS billy.Filesystem) error { - fmt.Printf("Saving %s mod %s/%s/%s@%s\n", lang, remote, owner, repo, tag) outdir := Outdir(lang, remote, owner, repo, tag) err := yagu.Mkdir(outdir) if err != nil { diff --git a/lib/yagu/repos/github/client.go b/lib/yagu/repos/github/client.go index 11e759179..fe083c325 100644 --- a/lib/yagu/repos/github/client.go +++ b/lib/yagu/repos/github/client.go @@ -2,7 +2,6 @@ package github import ( "context" - "fmt" "os" "golang.org/x/oauth2" @@ -16,7 +15,6 @@ func NewClient() (client *github.Client, err error) { ctx := context.Background() if token := os.Getenv(TokenEnv); token != "" { - fmt.Println("GITHUB OAUTH") ts := oauth2.StaticTokenSource( &oauth2.Token{AccessToken: token}, )