Documentation
¶
Index ¶
- type NotFoundProvider
- func (p *NotFoundProvider) GetProjectName() string
- func (p *NotFoundProvider) GetProjectPath() string
- func (p *NotFoundProvider) GetProjectURL() string
- func (p *NotFoundProvider) GetProviderID() string
- func (p *NotFoundProvider) GetProviderURL() string
- func (p *NotFoundProvider) GetURL() string
- func (p *NotFoundProvider) GetUserName() string
- func (p *NotFoundProvider) Is(u string) bool
- func (p *NotFoundProvider) SetURL(u string)
- type Provider
- type Providers
- func (p Providers) Add(provider ...Provider) Providers
- func (p Providers) GetProjectName() string
- func (p Providers) GetProjectPath() string
- func (p Providers) GetProjectURL() string
- func (p Providers) GetProviderID() string
- func (p Providers) GetProviderURL() string
- func (p Providers) GetURL() string
- func (p Providers) GetUserName() string
- func (p Providers) Match() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotFoundProvider ¶
type NotFoundProvider struct{}
NotFoundProvider for an url not identified
func (*NotFoundProvider) GetProjectName ¶
func (p *NotFoundProvider) GetProjectName() string
GetProjectName of the the current url.
func (*NotFoundProvider) GetProjectPath ¶
func (p *NotFoundProvider) GetProjectPath() string
GetProjectPath of the the current url.
func (*NotFoundProvider) GetProjectURL ¶
func (p *NotFoundProvider) GetProjectURL() string
GetProjectURL of the the current url.
func (*NotFoundProvider) GetProviderID ¶
func (p *NotFoundProvider) GetProviderID() string
GetProviderID of the the current url.
func (*NotFoundProvider) GetProviderURL ¶
func (p *NotFoundProvider) GetProviderURL() string
GetProviderURL of the the current url.
func (*NotFoundProvider) GetURL ¶
func (p *NotFoundProvider) GetURL() string
GetURL of the the current url.
func (*NotFoundProvider) GetUserName ¶
func (p *NotFoundProvider) GetUserName() string
GetUserName of the the current url.
type Provider ¶
type Provider interface { Is(string) bool SetURL(string) GetUserName() string GetProjectName() string GetProjectPath() string GetProviderURL() string GetProviderID() string GetURL() string GetProjectURL() string }
Provider identify an url.
type Providers ¶
Providers if a facade of many Provider.
func (Providers) GetProjectName ¶
GetProjectName of the the current url.
func (Providers) GetProjectPath ¶
GetProjectPath of the the current url.
func (Providers) GetProjectURL ¶
GetProjectURL of the the current url.
func (Providers) GetProviderID ¶
GetProviderID of the the current url.
func (Providers) GetProviderURL ¶
GetProviderURL of the the current url.
func (Providers) GetUserName ¶
GetUserName of the the current url.
Click to show internal directories.
Click to hide internal directories.