gitlab

package
v0.0.0-...-1dd5a45 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Mask               = errgo.Mask
	ErrProjectNotFound = errgo.New("Project now found")
)

Functions

func AddPullRequest

func AddPullRequest(config *Config, targetBranch, title string) error

AddPullRequest creates a new pull request for the current branch.

func CloneProjects

func CloneProjects(config *Config) error

Clone all projects in the current folder

func ListProjects

func ListProjects(config *Config) error

Show a list of all projects

Types

type Config

type Config struct {
	Host    string `json:"host"`
	ApiPath string `json:"api_path"`
	Token   string `json:"token"`
}

func GetDefaultConfig

func GetDefaultConfig() (*Config, error)

Jump to

Keyboard shortcuts

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