gist

package
v0.0.0-...-d9d1e3d Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gist

type Gist struct {
	Client *github.Client
}

func New

func New(token string) (*Gist, error)

func (*Gist) Create

func (g *Gist) Create(
	ctx context.Context,
	files map[github.GistFilename]github.GistFile,
	desc string,
	public bool) (*github.Gist, error)

Jump to

Keyboard shortcuts

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