1
0
mirror of https://github.com/taigrr/wtf synced 2026-04-14 20:30:42 -07:00

Move the utils.go file into the /utils directory

This commit is contained in:
Chris Cummer
2019-08-05 10:50:12 -07:00
parent 0bd2d176d8
commit 4e46fff145
57 changed files with 190 additions and 188 deletions

View File

@@ -6,7 +6,7 @@ import (
"net/http"
ghb "github.com/google/go-github/v26/github"
"github.com/wtfutil/wtf/wtf"
"github.com/wtfutil/wtf/utils"
"golang.org/x/oauth2"
)
@@ -35,7 +35,7 @@ func NewGithubRepo(name, owner, apiKey, baseURL, uploadURL string) *GithubRepo {
}
func (repo *GithubRepo) Open() {
wtf.OpenFile(*repo.RemoteRepo.HTMLURL)
utils.OpenFile(*repo.RemoteRepo.HTMLURL)
}
// Refresh reloads the github data via the Github API