From ac78bae7b5807c1f71534bddc1a9a3921154be4c Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 20 Feb 2016 18:13:12 -0500 Subject: Replace uuid module with original package --- cmd/serve.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/serve.go b/cmd/serve.go index 305aaa64..cca00b75 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. -- cgit v1.2.3