types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth added in v0.2.0

type BasicAuth struct {
	Username string `survey:"username"`
	Password string `survey:"password"`
}

type BasicUserInfo

type BasicUserInfo struct {
	Name  string `survey:"name"`
	Email string `survey:"email"`
}

type OAuth added in v0.2.0

type OAuth struct {
	Token string `survey:"token"`
}

type Repo

type Repo struct {
	RepoName        string `survey:"reponame"`
	RepoDescription string `survey:"repodescription"`
	RepoType        string `survey:"repotype"`
}

type RepoURL

type RepoURL struct {
	HTMLURL  string
	CloneURL string
	SSHURL   string
}

type Service added in v0.4.0

type Service interface {
	Init() error
	CreateRepo(Repo) error
	CreateGitIgnoreFile() error
	PushRepo() error
}

Jump to

Keyboard shortcuts

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