module Data using Downloads: download using TOML import Base: getindex, setindex struct Source end struct Index filename::String sources::Dict{String, Source} end function Index(filename::String)::Index sources = Dict{String, Source}() return Index(filename, sources) end function save(index::Index) end function getindex(index::Index, k::String)::Source index.sources[k] end function setindex!(index::Index, k::String, s::Source) index.sources[k] = s end end