updated order of struct

This commit is contained in:
techknowlogick 2018-06-19 15:54:38 -04:00 committed by GitHub
parent afc67be068
commit 2393b7ed68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,9 +20,9 @@ func BasicAuthEncode(user, pass string) string {
// AccessToken represents a API access token.
// swagger:response AccessToken
type AccessToken struct {
ID int64 `json:"id"`
Name string `json:"name"`
Sha1 string `json:"sha1"`
ID int64 `json:"id"`
}
// AccessTokenList represents a list of API access token.