Versions in this module Expand all Collapse all v0 v0.1.0 May 26, 2022 Changes in this version + type Cartridge interface + Assignments func() ([]types.Assignment, error) + Find func(string) (interface{}, error) + FindFile func(string) (fs.File, error) + Items func() ([]FullItem, error) + LTIs func() ([]types.CartridgeBasicltiLink, error) + Manifest func() (types.Manifest, error) + MarshalJSON func() ([]byte, error) + Metadata func() (string, error) + QTIs func() ([]types.Questestinterop, error) + Resources func() ([]FullResource, error) + Title func() string + Topics func() ([]types.Topic, error) + Weblinks func() ([]types.WebLink, error) + type FullItem struct + Children []FullItem + Item types.Item + Resources []types.Resource + type FullResource struct + Item types.Item + Resource interface{} + type IMSCC struct + Path string + Reader zip.Reader + func Load(path string) (IMSCC, error) + func (cc *IMSCC) FindItem(id string) (types.Item, error) + func (cc IMSCC) Assignments() ([]types.Assignment, error) + func (cc IMSCC) Find(id string) (interface{}, error) + func (cc IMSCC) FindFile(id string) (fs.File, error) + func (cc IMSCC) Items() ([]FullItem, error) + func (cc IMSCC) LTIs() ([]types.CartridgeBasicltiLink, error) + func (cc IMSCC) Manifest() (types.Manifest, error) + func (cc IMSCC) MarshalJSON() ([]byte, error) + func (cc IMSCC) Metadata() (string, error) + func (cc IMSCC) QTIs() ([]types.Questestinterop, error) + func (cc IMSCC) Resources() ([]FullResource, error) + func (cc IMSCC) Title() string + func (cc IMSCC) Topics() ([]types.Topic, error) + func (cc IMSCC) Weblinks() ([]types.WebLink, error) + type Metadata struct + Copyright string + CopyrightDescription string + Date string + Description string + Keyword string + Language string + Schema string + SchemaVersion string + Title string