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/user/app.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'routes/api/v1/user/app.go') diff --git a/routes/api/v1/user/app.go b/routes/api/v1/user/app.go index bda1e23f..09ac1909 100644 --- a/routes/api/v1/user/app.go +++ b/routes/api/v1/user/app.go @@ -5,13 +5,13 @@ package user import ( - api "github.com/gogits/go-gogs-client" + api "github.com/gogs/go-gogs-client" - "github.com/gogits/gogs/models" - "github.com/gogits/gogs/pkg/context" + "github.com/gogs/gogs/models" + "github.com/gogs/gogs/pkg/context" ) -// https://github.com/gogits/go-gogs-client/wiki/Users#list-access-tokens-for-a-user +// https://github.com/gogs/go-gogs-client/wiki/Users#list-access-tokens-for-a-user func ListAccessTokens(c *context.APIContext) { tokens, err := models.ListAccessTokens(c.User.ID) if err != nil { @@ -26,7 +26,7 @@ func ListAccessTokens(c *context.APIContext) { c.JSON(200, &apiTokens) } -// https://github.com/gogits/go-gogs-client/wiki/Users#create-a-access-token +// https://github.com/gogs/go-gogs-client/wiki/Users#create-a-access-token func CreateAccessToken(c *context.APIContext, form api.CreateAccessTokenOption) { t := &models.AccessToken{ UID: c.User.ID, -- cgit v1.2.3