gitea_hat/modules/structs/repo_branch.go

19 lines
409 B
Go

package structs
import (
gitea_api "code.gitea.io/gitea/modules/structs"
)
type Branch struct {
*gitea_api.Branch
IsDeleted bool `json:"is_deleted"`
DeletedUnix int `json:"deleted_unix"`
ID int64 `json:"id"`
DeletedBy *BranchDeleteUser `json:"deleted_by"`
}
type BranchDeleteUser struct {
Name string `json:"name"`
Email string `json:"email"`
}