diff options
author | Unknwon <u@gogs.io> | 2018-05-27 08:53:48 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-05-27 08:53:48 +0800 |
commit | aff42082441715559bb2e62e11550af1a946a8c9 (patch) | |
tree | d5349c3d486346210a989659e788b50589198e69 /routes/api/v1/misc | |
parent | 73dbaefec50c4fc99a63c5be2891a1a34db18767 (diff) |
*: rename "gogits" to "gogs"
Diffstat (limited to 'routes/api/v1/misc')
-rw-r--r-- | routes/api/v1/misc/markdown.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/routes/api/v1/misc/markdown.go b/routes/api/v1/misc/markdown.go index 98bfd7d0..6c210294 100644 --- a/routes/api/v1/misc/markdown.go +++ b/routes/api/v1/misc/markdown.go @@ -5,13 +5,13 @@ package misc import ( - api "github.com/gogits/go-gogs-client" + api "github.com/gogs/go-gogs-client" - "github.com/gogits/gogs/pkg/context" - "github.com/gogits/gogs/pkg/markup" + "github.com/gogs/gogs/pkg/context" + "github.com/gogs/gogs/pkg/markup" ) -// https://github.com/gogits/go-gogs-client/wiki/Miscellaneous#render-an-arbitrary-markdown-document +// https://github.com/gogs/go-gogs-client/wiki/Miscellaneous#render-an-arbitrary-markdown-document func Markdown(c *context.APIContext, form api.MarkdownOption) { if c.HasApiError() { c.Error(422, "", c.GetErrMsg()) @@ -31,7 +31,7 @@ func Markdown(c *context.APIContext, form api.MarkdownOption) { } } -// https://github.com/gogits/go-gogs-client/wiki/Miscellaneous#render-a-markdown-document-in-raw-mode +// https://github.com/gogs/go-gogs-client/wiki/Miscellaneous#render-a-markdown-document-in-raw-mode func MarkdownRaw(c *context.APIContext) { body, err := c.Req.Body().Bytes() if err != nil { |