summaryrefslogtreecommitdiffstats
path: root/modules/structs
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-06-10 23:20:49 +0800
committerGitHub <noreply@github.com>2019-06-10 23:20:49 +0800
commit835b53fc259c82f38945a3e107a4eb51478967d5 (patch)
treea47e3bdd23f44ec8ecffb0a51227c6241571750c /modules/structs
parent7162fbf3d6adf0a1f5b7ce95df5603d995b35d85 (diff)
downloadgitea-835b53fc259c82f38945a3e107a4eb51478967d5.tar.gz
gitea-835b53fc259c82f38945a3e107a4eb51478967d5.zip
make modules/structs as a spereate go mod (#7127)
Diffstat (limited to 'modules/structs')
-rw-r--r--modules/structs/attachment.go1
-rw-r--r--modules/structs/go.mod3
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/structs/attachment.go b/modules/structs/attachment.go
index 954956f328..7becd94335 100644
--- a/modules/structs/attachment.go
+++ b/modules/structs/attachment.go
@@ -3,6 +3,7 @@
// license that can be found in the LICENSE file.
package structs // import "code.gitea.io/gitea/modules/structs"
+
import (
"time"
)
diff --git a/modules/structs/go.mod b/modules/structs/go.mod
new file mode 100644
index 0000000000..96826f2f07
--- /dev/null
+++ b/modules/structs/go.mod
@@ -0,0 +1,3 @@
+module code.gitea.io/gitea/modules/structs
+
+go 1.12