Documentation ¶
Index ¶
- Constants
- type Coordinates
- func (c *Coordinates) FileBaseName() string
- func (c *Coordinates) FileName() string
- func (c *Coordinates) FullVersion() string
- func (c *Coordinates) IsValid() error
- func (c *Coordinates) MarshalJSON() ([]byte, error)
- func (c *Coordinates) Path(sep rune) string
- func (c *Coordinates) String() string
- func (c *Coordinates) UnmarshalJSON(data []byte) error
Constants ¶
View Source
const ( // Character responsible for separating parts of Maven coordinates CoordinatesSeparator = ":" // Standard packaging used by the Maven if none specified in coordinates DefaultPackaging = "jar" // Character responsible for separating the artefact name and the version FilenameSeparator = "-" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinates ¶
type Coordinates struct { GroupId string ArtifactId string Version string VersionLabel string Packaging string Classifier string }
func NewCoordinates ¶
func NewCoordinates(coordinates string) (*Coordinates, error)
func (*Coordinates) FileBaseName ¶
func (c *Coordinates) FileBaseName() string
func (*Coordinates) FileName ¶
func (c *Coordinates) FileName() string
func (*Coordinates) FullVersion ¶
func (c *Coordinates) FullVersion() string
func (*Coordinates) IsValid ¶
func (c *Coordinates) IsValid() error
func (*Coordinates) MarshalJSON ¶
func (c *Coordinates) MarshalJSON() ([]byte, error)
func (*Coordinates) Path ¶
func (c *Coordinates) Path(sep rune) string
func (*Coordinates) String ¶
func (c *Coordinates) String() string
func (*Coordinates) UnmarshalJSON ¶
func (c *Coordinates) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.