test

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by lexigo - DO NOT EDIT

Index

Constants

This section is empty.

Variables

View Source
var Locales = localesNested{MyLocaleAny: myLocaleAnyLocale{}, MyLocaleFloat: myLocaleFloatLocale{}, MyLocaleInt: myLocaleIntLocale{}, MyLocale: myLocaleLocale{}, MyLocaleOther: myLocaleOtherLocale{}, MyLocaleStr: myLocaleStrLocale{}, Outer1: outer1LocaleNested{}, Outer2: outer2LocaleNested{}, Outer3: outer3LocaleNested{}, Outer4: outer4LocaleNested{}, Outer5: outer5LocaleNested{}}
View Source
var Matcher = lexigo.NewMatcher([]language.Tag{en_US, ar, fr})

Functions

This section is empty.

Types

type Locale added in v0.2.0

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

func (Locale) FromCtx added in v0.2.0

func (l Locale) FromCtx(ctx context.Context) string

func (Locale) FromString added in v0.2.0

func (l Locale) FromString(lang string) string

func (Locale) FromTag added in v0.2.0

func (l Locale) FromTag(lang language.Tag) string

type MyLocaleAnyPlaceholders

type MyLocaleAnyPlaceholders struct {
	Placeholder any
}

type MyLocaleFloatPlaceholders

type MyLocaleFloatPlaceholders struct {
	Placeholder float32
}

type MyLocaleIntPlaceholders

type MyLocaleIntPlaceholders struct {
	Placeholder int
}

type MyLocaleOtherPlaceholders added in v0.3.1

type MyLocaleOtherPlaceholders struct {
	Placeholder other.Other
}

type MyLocaleStrPlaceholders

type MyLocaleStrPlaceholders struct {
	Placeholder string
}

type Outer1InnerPlaceholders added in v0.3.1

type Outer1InnerPlaceholders struct {
	Placeholder1 string
	Placeholder2 string
}

type Outer2InnerPlaceholders added in v0.3.1

type Outer2InnerPlaceholders struct {
	Placeholder1 string
	Placeholder2 string
}

type Outer3Outer1InnerPlaceholders added in v0.3.1

type Outer3Outer1InnerPlaceholders struct {
	Placeholder1 string
	Placeholder2 string
}

type Outer4Outer1InnerPlaceholders added in v0.3.1

type Outer4Outer1InnerPlaceholders struct {
	Placeholder1 string
	Placeholder2 string
}

type Outer6Outer1InnerPlaceholders added in v0.3.1

type Outer6Outer1InnerPlaceholders struct {
	Placeholder1 string
	Placeholder2 string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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