1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

wtf.Position into its own file

This commit is contained in:
Chris Cummer
2018-04-08 05:04:33 -07:00
committed by Chris Cummer
parent b216005385
commit 01aab4cc53
5 changed files with 36 additions and 37 deletions

View File

@@ -2,7 +2,6 @@ package github
import (
"context"
//"fmt"
"net/http"
"os"
@@ -32,8 +31,6 @@ func (client *Client) PullRequests(orgName string, repoName string) ([]*ghb.Pull
if err != nil {
return nil, err
//fmt.Printf("Problem in getting pull request information %v\n", err)
//os.Exit(1)
}
return prs, nil
@@ -47,8 +44,6 @@ func (client *Client) Repository(orgName string, repoName string) (*ghb.Reposito
if err != nil {
return nil, err
//fmt.Printf("Problem in getting repository information %v\n", err)
//os.Exit(1)
}
return repo, nil