mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-04 10:30:19 -05:00
12 lines
319 B
Go
12 lines
319 B
Go
|
// Copyright 2016 The Gogs 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
|
||
|
|
||
|
// Branch represents a repository branch
|
||
|
type Branch struct {
|
||
|
Name string `json:"name"`
|
||
|
Commit *PayloadCommit `json:"commit"`
|
||
|
}
|