From aff42082441715559bb2e62e11550af1a946a8c9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 27 May 2018 08:53:48 +0800 Subject: *: rename "gogits" to "gogs" --- routes/api/v1/repo/branch.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'routes/api/v1/repo/branch.go') diff --git a/routes/api/v1/repo/branch.go b/routes/api/v1/repo/branch.go index 3e001478..3323ccd6 100644 --- a/routes/api/v1/repo/branch.go +++ b/routes/api/v1/repo/branch.go @@ -5,14 +5,14 @@ package repo import ( - api "github.com/gogits/go-gogs-client" + api "github.com/gogs/go-gogs-client" - "github.com/gogits/gogs/models/errors" - "github.com/gogits/gogs/pkg/context" - "github.com/gogits/gogs/routes/api/v1/convert" + "github.com/gogs/gogs/models/errors" + "github.com/gogs/gogs/pkg/context" + "github.com/gogs/gogs/routes/api/v1/convert" ) -// https://github.com/gogits/go-gogs-client/wiki/Repositories#get-branch +// https://github.com/gogs/go-gogs-client/wiki/Repositories#get-branch func GetBranch(c *context.APIContext) { branch, err := c.Repo.Repository.GetBranch(c.Params("*")) if err != nil { @@ -33,7 +33,7 @@ func GetBranch(c *context.APIContext) { c.JSON(200, convert.ToBranch(branch, commit)) } -// https://github.com/gogits/go-gogs-client/wiki/Repositories#list-branches +// https://github.com/gogs/go-gogs-client/wiki/Repositories#list-branches func ListBranches(c *context.APIContext) { branches, err := c.Repo.Repository.GetBranches() if err != nil { -- cgit v1.2.3