17 lines
432 B
Go
17 lines
432 B
Go
|
// Copyright 2019 The Gitea Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a MIT-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package structs
|
||
|
|
||
|
// Tag represents a repository tag
|
||
|
type Tag struct {
|
||
|
Name string `json:"name"`
|
||
|
Commit struct {
|
||
|
SHA string `json:"sha"`
|
||
|
URL string `json:"url"`
|
||
|
} `json:"commit"`
|
||
|
ZipballURL string `json:"zipball_url"`
|
||
|
TarballURL string `json:"tarball_url"`
|
||
|
}
|