Documentation ¶
Overview ¶
Package versiontest contains helpers to aid testing code that interacts with version attributes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSingle ¶
ParseSingle parses the given string and returns the corresponding version attribute composed of one key and its value. The key and the value are space separated. The key and the value of the version attribute are trimmed. Examples:
SomeKey some value until the end of the string SomeKey "some quoted \"value\" with no trailing data" SomeKey `a backtick "quoted" value`
func ParseString ¶
Parse parses the given string and returns the corresponding version attribute. Keys and values are space separated. Examples:
Bundle Redirect name Redirect name Bundle
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.