std

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	URL string
	// contains filtered or unexported fields
}

Provider detects GH url

func New

func New() *Provider

New provider to work with url

func (*Provider) GetProjectName

func (p *Provider) GetProjectName() string

GetProjectName of the the current url.

func (*Provider) GetProjectPath

func (p *Provider) GetProjectPath() string

GetProjectPath of the the current url.

func (*Provider) GetProjectURL

func (p *Provider) GetProjectURL() string

GetProjectURL of the the current url.

func (*Provider) GetProviderID

func (p *Provider) GetProviderID() string

GetProviderID of the the current url.

func (*Provider) GetProviderURL

func (p *Provider) GetProviderURL() string

GetProviderURL of the the current url.

func (*Provider) GetURL

func (p *Provider) GetURL() string

GetURL of the the current url.

func (*Provider) GetUserName

func (p *Provider) GetUserName() string

GetUserName of the the current url.

func (*Provider) Is

func (p *Provider) Is(url string) bool

Is the current url about gh?

func (*Provider) SetURL

func (p *Provider) SetURL(url string)

SetURL of the provider

Jump to

Keyboard shortcuts

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