gitservice

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 6 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

func NewBitbucket(gitService git.Git) GitService

func NewGithub

func NewGithub(gitService git.Git) GitService

func NewGitlab

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