Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubRegistry ¶
func (*GithubRegistry) Display ¶
func (r *GithubRegistry) Display(importPath, repo string) string
Display returns the content for `go-source` meta tag from the second to the fourth field. It returns 3 fields: `ui-home`, `ui-directory`, `ui-file`.
func (*GithubRegistry) ServerName ¶
func (r *GithubRegistry) ServerName() string
ServerName returns the host name of the registry.
func (*GithubRegistry) Subdir ¶
func (r *GithubRegistry) Subdir(importPath, repo string) string
Subdir returns the subdirectory of the import path.
func (*GithubRegistry) VCS ¶
func (r *GithubRegistry) VCS() string
VCS returns the version control system used by the registry.
Click to show internal directories.
Click to hide internal directories.