summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-20 18:13:12 -0500
committerUnknwon <u@gogs.io>2016-02-20 18:13:12 -0500
commitac78bae7b5807c1f71534bddc1a9a3921154be4c (patch)
treeddc9894562a94710d2e4b089f23f23ff8656e54c /cmd
parent926e75d72126be97f9974976abfb46449a53f3c6 (diff)
downloadgitea-ac78bae7b5807c1f71534bddc1a9a3921154be4c.tar.gz
gitea-ac78bae7b5807c1f71534bddc1a9a3921154be4c.zip
Replace uuid module with original package
Diffstat (limited to 'cmd')
-rw-r--r--cmd/serve.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index 305aaa6486..cca00b75cf 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -15,13 +15,13 @@ import (
"github.com/Unknwon/com"
"github.com/codegangsta/cli"
+ gouuid "github.com/satori/go.uuid"
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/httplib"
"github.com/gogits/gogs/modules/log"
"github.com/gogits/gogs/modules/setting"
- "github.com/gogits/gogs/modules/uuid"
)
const (
@@ -250,7 +250,7 @@ func runServ(c *cli.Context) {
}
}
- uuid := uuid.NewV4().String()
+ uuid := gouuid.NewV4().String()
os.Setenv("uuid", uuid)
// Special handle for Windows.