Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDictionary ¶
func DeleteDictionary(c *fiber.Ctx) error
func GetDictionaries ¶
func GetDictionaries(c *fiber.Ctx) error
func GetDictionary ¶
func GetDictionary(c *fiber.Ctx) error
func NewDictionary ¶
func NewDictionary(c *fiber.Ctx) error
func UpdateDictionary ¶
func UpdateDictionary(c *fiber.Ctx) error
Types ¶
type Dictionary ¶
type Dictionary struct { gorm.Model UserID uint `json:"user_id"` DictionaryLanguage DictionaryLanguage `json:"language"` }
type DictionaryLanguage ¶
type ErrorResponse ¶
func ValidateStruct ¶
func ValidateStruct(input interface{}) []*ErrorResponse
Click to show internal directories.
Click to hide internal directories.