git_service

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 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 Bitbucket

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

func (Bitbucket) GetPath

func (bitbucket Bitbucket) GetPath(selectedPage page.Page) string

type GitService

type GitService interface {
	GetPath(selectedPage page.Page) string
}

func Decide

func Decide(url string) GitService

func NewBitbucket added in v0.6.0

func NewBitbucket(gitService git.Git) GitService

func NewGithub added in v0.6.0

func NewGithub(gitService git.Git) GitService

func NewGitlab added in v0.6.0

func NewGitlab(gitService git.Git) GitService

type Github

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

func (Github) GetPath

func (github Github) GetPath(selectedPage page.Page) string

type Gitlab

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

func (Gitlab) GetPath

func (gitlab Gitlab) GetPath(selectedPage page.Page) string

Jump to

Keyboard shortcuts

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