package
Version:
v0.0.0-...-bcbb06c
Opens a new window with list of versions in this module.
Published: Mar 26, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Receipt struct {
ID uint64 `json:"id"`
Name string `json:"name" validate:"nonzero"`
Description string `json:"filename"`
Filename string `json:"date" validate:"nonzero"`
Date time.Time `json:"string" validate:"nonzero"`
CreatedBy uint64 `json:"created_by"`
}
type User struct {
ID uint64 `json:"id"`
Email string `json:"email" validate:"regexp=^[0-9a-z]+@[0-9a-z]+(\\.[0-9a-z]+)+$"`
Password string `json:"password" validate:"min=8"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.