Documentation ¶
Index ¶
Constants ¶
View Source
const (
MetadataFileName = "mcmod.info"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
func (*Dependency) MarshalText ¶
func (d *Dependency) MarshalText() ([]byte, error)
func (*Dependency) UnmarshalText ¶
func (d *Dependency) UnmarshalText(text []byte) error
type Metadata ¶
type Metadata struct { ID string `json:"modid"` //Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Dependencies []Dependency `json:"dependencies,omitempty"` }
func ReadMetadataBytes ¶
Click to show internal directories.
Click to hide internal directories.