Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidGitHubURL = errors.New("invalid GitHub URL") ErrNotGitHubURL = errors.New("not a GitHub URL") )
Common errors for GitHub operations
Functions ¶
func ConvertGitHubURLToRaw ¶
ConvertGitHubURLToRaw converts a GitHub URL to a raw.githubusercontent.com URL If token is provided, it uses it for private repositories
func NormalizeGitHubURL ¶
NormalizeGitHubURL removes protocol prefixes and ensures consistent format
func TrimGitHubPrefix ¶
TrimGitHubPrefix removes the "@" prefix from a GitHub URL if present
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.