0
0
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:
vx3r
2020-04-19 14:13:44 +09:00
parent 9e4b22d0ef
commit a765dead02
12 changed files with 867 additions and 964 deletions

View File

@ -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)

View File

@ -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)