Discover Packages
github.com/evrone/go-clean-template
internal
entity
package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Feb 26, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package entity defines main entities for business logic (services), data base mapping and
HTTP response objects if suitable. Each logic group entities in own file.
type Translation struct {
Source string `json:"source" example:"auto"`
Destination string `json:"destination" example:"en"`
Original string `json:"original" example:"текст для перевода"`
Translation string `json:"translation" example:"text for translation"`
}
Translation -.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.