Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractBranchFromRef ¶
extractBranchFromRef extracts the branch name from a GitHub ref e.g., "refs/heads/main" -> "main"
func ParseLogLevel ¶
parseLogLevel converts a string to an slog.Level.
func RedactToken ¶
RedactToken redacts a token string for safe logging, preserving only the first and last N characters
func TruncateString ¶
TruncateString truncates a string to the specified length and adds an ellipsis if truncated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.