diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2018-03-29 21:32:40 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2018-03-29 21:32:40 +0800 |
commit | 1c5cbc390bd67194470859a5731719bf069b5ef4 (patch) | |
tree | a883063d330f61d3310a3a4818a335e20694c88c /routers/api/v1/repo/release_attachment.go | |
parent | a8beef890dc6aa9262442969ae6d14c53282025b (diff) | |
download | gitea-1c5cbc390bd67194470859a5731719bf069b5ef4.tar.gz gitea-1c5cbc390bd67194470859a5731719bf069b5ef4.zip |
refactor: import order. (#3736)
Diffstat (limited to 'routers/api/v1/repo/release_attachment.go')
-rw-r--r-- | routers/api/v1/repo/release_attachment.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/routers/api/v1/repo/release_attachment.go b/routers/api/v1/repo/release_attachment.go index 80b2064df0..f11fac1629 100644 --- a/routers/api/v1/repo/release_attachment.go +++ b/routers/api/v1/repo/release_attachment.go @@ -5,13 +5,15 @@ package repo import ( + "errors" + "net/http" + "strings" + "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/modules/setting" + api "code.gitea.io/sdk/gitea" - "errors" - "net/http" - "strings" ) // GetReleaseAttachment gets a single attachment of the release |