Documentation ¶ Overview ¶ Package giturl provides facilities to work with the special URL formats used in Git remotes. Index ¶ type Parts func Parse(url string) *Parts Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Parts ¶ type Parts struct { User string // optional username Host string // hostname of the Git server Org string // name of the organization that the repo is in Repo string // name of the repository } Parts contains recognized parts of a Git URL. func Parse ¶ func Parse(url string) *Parts Source Files ¶ View all Source files git_url.go Click to show internal directories. Click to hide internal directories.