MCPcopy Index your code
hub / github.com/bytebase/bytebase / newClient

Function newClient

action/github/api.go:27–33  ·  view source on GitHub ↗
(apiURL, token string)

Source from the content-addressed store, hash-verified

25}
26
27func newClient(apiURL, token string) *githubClient {
28 return &githubClient{
29 apiURL: apiURL,
30 token: token,
31 client: &http.Client{},
32 }
33}
34
35func (g *githubClient) createComment(repo, pr, msg string) error {
36 body := map[string]string{

Callers 1

upsertCommentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected