Versions in this module Expand all Collapse all v0 v0.1.0 Sep 3, 2020 Changes in this version + const ByDate + const ByInUse + const ByInUseDate + const ByName + var CustomPath string + var ReturnLocation = "returned" + func Path() string + func Sort(element sortBy, items []*Item, reversed bool) + type Item struct + ID string + InUse bool + Location string + Name string + Updated time.Time + func Add(name string) (*Item, error) + func Items() ([]*Item, error) + func SortedItems(by sortBy, reversed bool) ([]*Item, error) + func (i *Item) LocationPicture() (image.Image, error) + func (i *Item) Picture() (image.Image, error) + func (i *Item) SetLocationPicture(r io.ReadSeeker) error + func (i *Item) SetPicture(r io.ReadSeeker) error + func (i *Item) String() string + func (i *Item) Update() error + func (i *Item) Use(who string) error