1
0
Fork 0
forked from forgejo/forgejo

Replace uuid module with original package

This commit is contained in:
Unknwon 2016-02-20 18:13:12 -05:00
parent 926e75d721
commit ac78bae7b5
11 changed files with 12 additions and 912 deletions

View file

@ -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.