Help us shape the future of Go! Take the 2026 Go Developer Survey

translation

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListRow

type ListRow struct {
	ID        uint64
	Status    string
	Lang      string
	Key       string
	Variables string
	Text      string
}

type RequestCreateTranslation

type RequestCreateTranslation struct {
	Key  entity.TranslationTextKey  `binding:"required"`
	Lang entity.TranslationTextLang `binding:"required"`
	Text string                     `binding:"required"`
}

type RequestDTOTranslationID

type RequestDTOTranslationID struct {
	ID uint64 `uri:"ID" binding:"required" example:"1"`
}

type RequestUpdateTranslation

type RequestUpdateTranslation struct {
	Key  entity.TranslationTextKey  `binding:"required"`
	Lang entity.TranslationTextLang `binding:"required"`
	Text string                     `binding:"required"`
}

type ResponseDTOList added in v1.3.0

type ResponseDTOList struct {
	Rows    []*ListRow
	Total   int
	Columns []crud.Column
}

type ResponseTranslation

type ResponseTranslation struct {
	ID   uint64
	Lang string
	Key  string
	Text string
}

Jump to

Keyboard shortcuts

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