giturl

package
v0.0.19-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitUrlHost

type GitUrlHost string
const (
	GITHUB            GitUrlHost = "GITHUB"
	GITLAB            GitUrlHost = ""
	UNKOWN_GIT_SERVER GitUrlHost = "UNKOWN_GIT_SERVER"
)

type ParsedGitUrl

type ParsedGitUrl struct {
	Protocol     string     `json:"protocol"`
	Host         string     `json:"host"`
	Repo         string     `json:"repo"`
	User         string     `json:"user"`
	Project      string     `json:"project"`
	RepoFullPath string     `json:"repo_full_path"`
	Version      string     `json:"version"`
	HostType     GitUrlHost `json:"host_type"`
}

Jump to

Keyboard shortcuts

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