gitea/modules/migration/label.go

15 lines
449 B
Go

// Copyright 2019 The Gitea Authors. All rights reserved.
// Copyright 2018 Jonas Franz. All rights reserved.
// SPDX-License-Identifier: MIT
package migration
// Label defines a standard label information
type Label struct {
Name string `json:"name"`
Color string `json:"color"`
Description string `json:"description"`
Exclusive bool `json:"exclusive"`
OriginalID int64 `json:"-"` // ID from the upstream syncing source
}