提交 306f25cd 编写于 作者: J Jingwen Owen Ou

Create octokit client

上级 23d06c00
......@@ -4,6 +4,7 @@ import (
"errors"
"fmt"
"github.com/jingweno/octokat"
"github.com/octokit/go-octokit"
)
const (
......@@ -173,6 +174,10 @@ func (gh *GitHub) client() *octokat.Client {
return octokat.NewClient().WithToken(config.Token)
}
func (gh *GitHub) octokit() *octokit.Client {
return octokit.NewClient()
}
func New() *GitHub {
project := CurrentProject()
c := CurrentConfig()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册