0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 06:14:25 +01:00

Set correct doc url for go-sdk

This commit is contained in:
Thomas Boerger 2016-11-07 10:07:43 +01:00
parent 1b962bac0b
commit 6bf9910975
No known key found for this signature in database
GPG key ID: 5A388F55283960B6
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
package base
const DOC_URL = "https://github.com/gogits/go-gogs-client/wiki"
const DocURL = "https://godoc.org/github.com/go-gitea/go-sdk"
type (
TplName string

View file

@ -36,7 +36,7 @@ func (ctx *APIContext) Error(status int, title string, obj interface{}) {
ctx.JSON(status, map[string]string{
"message": message,
"url": base.DOC_URL,
"url": base.DocURL,
})
}