diff options
author | Unknwon <u@gogs.io> | 2016-02-20 18:13:12 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-20 18:13:12 -0500 |
commit | ac78bae7b5807c1f71534bddc1a9a3921154be4c (patch) | |
tree | ddc9894562a94710d2e4b089f23f23ff8656e54c /models/webhook.go | |
parent | 926e75d72126be97f9974976abfb46449a53f3c6 (diff) | |
download | gitea-ac78bae7b5807c1f71534bddc1a9a3921154be4c.tar.gz gitea-ac78bae7b5807c1f71534bddc1a9a3921154be4c.zip |
Replace uuid module with original package
Diffstat (limited to 'models/webhook.go')
-rw-r--r-- | models/webhook.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/webhook.go b/models/webhook.go index bdfb62d899..c20a72e97e 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -15,13 +15,13 @@ import ( "github.com/Unknwon/com" "github.com/go-xorm/xorm" + gouuid "github.com/satori/go.uuid" api "github.com/gogits/go-gogs-client" "github.com/gogits/gogs/modules/httplib" "github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/setting" - "github.com/gogits/gogs/modules/uuid" ) type HookContentType int @@ -361,7 +361,7 @@ func CreateHookTask(t *HookTask) error { if err != nil { return err } - t.UUID = uuid.NewV4().String() + t.UUID = gouuid.NewV4().String() t.PayloadContent = string(data) _, err = x.Insert(t) return err |