0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2025-09-11 12:24:27 +00:00

go fmt and golint

This commit is contained in:
vx3r
2020-06-10 16:52:44 +09:00
parent 172551dcab
commit 6049ba8089
10 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,6 @@
package model
// Auth structure
type Auth struct {
Oauth2 bool `json:"oauth2"`
ClientId string `json:"clientId"`

View File

@ -2,6 +2,7 @@ package model
import "time"
// User structure
type User struct {
Sub string `json:"sub"`
Name string `json:"name"`