dataset

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSupportedLanguages added in v0.3.2

func GetSupportedLanguages() []string

Types

type Dataset

type Dataset interface {
	Import(r io.Reader) (*Report, error)
}

type LanguageMapper added in v0.3.2

type LanguageMapper struct {
	// contains filtered or unexported fields
}

func NewLanguageMapper added in v0.3.2

func NewLanguageMapper(languages map[string]string) LanguageMapper

func (LanguageMapper) ByExternal added in v0.3.2

func (l LanguageMapper) ByExternal(lang string) string

func (LanguageMapper) Get added in v0.3.2

func (l LanguageMapper) Get(lang string) (string, error)

type Report

type Report struct {
	CardCount int
	SetCount  int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL