Minor fix for #15

This commit is contained in:
Unknwon 2016-02-02 16:54:14 -05:00
parent 01d5b5ee82
commit 4f98d4dc0d

View file

@ -1,9 +1,14 @@
// 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 gogs package gogs
import ( import (
"fmt" "fmt"
) )
// Branch represents a repository branch.
type Branch struct { type Branch struct {
Name string `json:"name"` Name string `json:"name"`
Commit *PayloadCommit `json:"commit"` Commit *PayloadCommit `json:"commit"`