etype

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StringExtractNames = map[string]Token{
	"MsgID":     Singular,
	"Singular":  Singular,
	"Plural":    Plural,
	"Domain":    Domain,
	"Context":   Context,
	"Key":       Key,
	"PluralKey": PluralKey,
}

Functions

func IsMessageID

func IsMessageID(tok Token) bool

Types

type Token

type Token string
const (
	None      Token = ""
	Singular  Token = "Singular"
	Key       Token = "Key"
	PluralKey Token = "PluralKey"
	Plural    Token = "Plural"
	Domain    Token = "Domain"
	Context   Token = "Context"
)

Jump to

Keyboard shortcuts

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