Documentation ¶
Index ¶
- func TestConvert(rawSettings, rawExpected, pathToConversions string, ...) error
- type ConversionsStore
- type Converter
- func (c *Converter) ConvertTo(currentVersion, version int, settings map[string]interface{}) (int, map[string]interface{}, error)
- func (c *Converter) ConvertToLatest(currentVersion int, settings map[string]interface{}) (int, map[string]interface{}, error)
- func (c *Converter) IsKnownVersion(version int) bool
- func (c *Converter) LatestVersion() int
- func (c *Converter) ListVersionsWithoutLatest() []int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestConvert ¶
Types ¶
type ConversionsStore ¶
type ConversionsStore struct {
// contains filtered or unexported fields
}
func (*ConversionsStore) Add ¶
func (s *ConversionsStore) Add(module, pathToConversions string) (err error)
func (*ConversionsStore) Get ¶
func (s *ConversionsStore) Get(module string) *Converter
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
func (*Converter) ConvertToLatest ¶
func (*Converter) IsKnownVersion ¶
func (*Converter) LatestVersion ¶
func (*Converter) ListVersionsWithoutLatest ¶
Click to show internal directories.
Click to hide internal directories.