package
Version:
v0.0.0-...-3778879
Opens a new window with list of versions in this module.
Published: Jan 4, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
FormatAsDate return a yyyy-mm-dd date
ValidateUser validate the username and password is valid or not
type Login struct {
Username string `form:"username" json:"username" binding:"required"`
Password string `form:"password" json:"password" binding:"required"`
}
Login is a simple type to contain username and password
Source Files
¶
Click to show internal directories.
Click to hide internal directories.