summaryrefslogtreecommitdiffstats
path: root/models/attachment.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-11 18:21:34 +0800
committerGitHub <noreply@github.com>2019-05-11 18:21:34 +0800
commit34eee25bd42d19287e3e33afd169cc979ab61f37 (patch)
tree8def3b2f224745e3fbc0adaec2f01d7f752c443d /models/attachment.go
parent1658cd04e9918109867f2745ddf760d260681878 (diff)
downloadgitea-34eee25bd42d19287e3e33afd169cc979ab61f37.tar.gz
gitea-34eee25bd42d19287e3e33afd169cc979ab61f37.zip
Move sdk structs to modules/structs (#6905)
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor
Diffstat (limited to 'models/attachment.go')
-rw-r--r--models/attachment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/attachment.go b/models/attachment.go
index bbb88939b1..1740f065d0 100644
--- a/models/attachment.go
+++ b/models/attachment.go
@@ -11,8 +11,8 @@ import (
"path"
"code.gitea.io/gitea/modules/setting"
+ api "code.gitea.io/gitea/modules/structs"
"code.gitea.io/gitea/modules/util"
- api "code.gitea.io/sdk/gitea"
"github.com/go-xorm/xorm"
gouuid "github.com/satori/go.uuid"