mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2025-09-11 12:24:27 +00:00
refactor, remove dirty migration, npm update
This commit is contained in:
@ -22,6 +22,7 @@ type Client struct {
|
||||
Updated time.Time `json:"updated"`
|
||||
}
|
||||
|
||||
// IsValid check if model is valid
|
||||
func (a Client) IsValid() []error {
|
||||
errs := make([]error, 0)
|
||||
|
||||
|
@ -25,6 +25,7 @@ type Server struct {
|
||||
Updated time.Time `json:"updated"`
|
||||
}
|
||||
|
||||
// IsValid check if model is valid
|
||||
func (a Server) IsValid() []error {
|
||||
errs := make([]error, 0)
|
||||
|
||||
|
Reference in New Issue
Block a user