Documentation ¶
Index ¶
Constants ¶
View Source
const SEPARATOR = "."
SEPARATOR is used to split the message into groups.
Variables ¶
View Source
var ( ErrWrapper = "translation: %w" ErrBody = errors.New("html body is empty") ErrJSONValid = errors.New("json struct is not valid") )
Error messages.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
controller.Base
}
Controller struct.
func (*Controller) Translation ¶
func (c *Controller) Translation()
Translation controller implements a CRUD for generating the translations. Translation manage reload will be called on CREATE,UPDATE and DELETE.
Click to show internal directories.
Click to hide internal directories.