Documentation ¶
Index ¶
Constants ¶
View Source
const ReceiptFilename = "INSTALL_RECEIPT.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallReceipt ¶
type InstallReceipt struct { // The name of the food installed Name string `json:"name"` // Which rig did this food come from? Rig string `json:"rig"` // Time that this food was last modified (upgraded) LastModified time.Time `json:"last-modified"` // What version of GoFish was this last modified with? GoFishVersion string `json:"gofish-version"` }
func NewFromReader ¶
func NewFromReader(r io.Reader) (*InstallReceipt, error)
NewFromReader reads in an install receipt from an io.Reader. Useful when reading from a file stream.
Click to show internal directories.
Click to hide internal directories.