domain

package
v0.0.0-...-d3349d2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Lang2Len = 2
View Source
const Lang5Len = 5

const Lang3Len = 3

Variables

View Source
var (
	Lang2EN      Lang2
	Lang2ES      Lang2
	Lang2JA      Lang2
	Lang2KO      Lang2
	Lang2Unknown Lang2

	Lang5ENUS    Lang5
	Lang5ESES    Lang5
	Lang5JAJP    Lang5
	Lang5KOKR    Lang5
	Lang5Unknown Lang5
)

Functions

This section is empty.

Types

type AudioID

type AudioID uint

type AudioModel

type AudioModel interface {
	GetID() uint
	GetLang5() Lang5
	GetText() string
	GetContent() string
}

func NewAudioModel

func NewAudioModel(id uint, lang5 Lang5, text, content string) (AudioModel, error)

type Lang2

type Lang2 interface {
	String() string
	// ToLang3() Lang3
	ToLang5() Lang5
}

func NewLang2

func NewLang2(lang string) (Lang2, error)

type Lang5

type Lang5 interface {
	String() string
	ToLang2() Lang2
}

func NewLang5

func NewLang5(lang string) (Lang5, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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