Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterDown ¶
func SplitArgs ¶
SplitArgs splits a shell-like string into a slice of tokens. It handles single-quoted, double-quoted, and backslash-escaped tokens, so e.g. `-ldflags "-X main.Version=1.0"` yields ["-ldflags", "-X main.Version=1.0"]. Returns an error if the string contains an unclosed quote or a trailing backslash.
Types ¶
Click to show internal directories.
Click to hide internal directories.