Metadata returns any metadata that was part of the version string. Metadata is anything that comes after the "+" in the version. For example, with "1.2.3+beta", the metadata is "beta".
()
| 319 | // Metadata is anything that comes after the "+" in the version. |
| 320 | // For example, with "1.2.3+beta", the metadata is "beta". |
| 321 | func (v *Version) Metadata() string { |
| 322 | return v.metadata |
| 323 | } |
| 324 | |
| 325 | // Prerelease returns any prerelease data that is part of the version, |
| 326 | // or blank if there is no prerelease data. |
no outgoing calls