github

package
v0.0.0-...-87e4fe4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(githubkey string) *Client

func (*Client) GetCommitHash

func (c *Client) GetCommitHash(owner, repo, branch string) (string, error)

func (*Client) GetFile

func (c *Client) GetFile(owner, repo, branch, path string) (io.ReadCloser, error)

func (*Client) WriteFiles

func (c *Client) WriteFiles(owner, repo, branch string, files map[string]string, commitmessage string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL