1package sources23import (4 "github.com/FelineStateMachine/atlas/internal/generate/sources/arcgishub"5 "github.com/FelineStateMachine/atlas/internal/generate/sources/ign"6 "github.com/FelineStateMachine/atlas/internal/generate/sources/mapgenie"7 "github.com/FelineStateMachine/atlas/internal/generate/sources/nasabluemarble"8 "github.com/FelineStateMachine/atlas/internal/generate/sources/nasatrek"9 "github.com/FelineStateMachine/atlas/internal/generate/sources/piggyback"10)1112// All is the registered sources, in the order a report lists them.13//14// This is the assembly point, and it is the one file outside a source's own15// directory that is allowed to name a source (issue #5 ยง5.1). It may name only16// a constructor: no capture kind, no field, no id-space rule, nothing about how17// a source's captures are shaped. Adding a source is one line here, and if it18// needs a second line, the source is leaking.19//20// It is a function rather than a package variable so that registration is21// explicit and ordered, with no init doing it behind a reader's back.22func All() []Source {23 return []Source{24 mapgenie.New(),25 ign.New(),26 piggyback.New(),27 nasatrek.New(),28 nasabluemarble.New(),29 arcgishub.New(),30 }31}