forked from forgejo/forgejo
Replace uuid module with original package
This commit is contained in:
parent
926e75d721
commit
ac78bae7b5
11 changed files with 12 additions and 912 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue