File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -86,10 +86,7 @@ func (bt *Blobies) prepare() {
86
86
87
87
// Register - Register new blob
88
88
func (bt * Blobies ) Register (b * Blobie ) error {
89
- newUUID , err := uuid .NewV4 ()
90
- if err != nil {
91
- return err
92
- }
89
+ newUUID := uuid .NewV4 ()
93
90
b .ID = newUUID
94
91
bt .Objects [newUUID ] = b
95
92
return nil
Original file line number Diff line number Diff line change
1
+ module github.com/LdDl/gocv-blob
2
+
3
+ go 1.14
4
+
5
+ require (
6
+ github.com/satori/go.uuid v1.2.0
7
+ gocv.io/x/gocv v0.23.0
8
+ )
Original file line number Diff line number Diff line change
1
+ github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww =
2
+ github.com/satori/go.uuid v1.2.0 /go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0 =
3
+ gocv.io/x/gocv v0.23.0 h1:3Fgbt06/uR8Zf9emWndhjbUjdrw+nto69R/b4noFydY =
4
+ gocv.io/x/gocv v0.23.0 /go.mod h1:Rar2PS6DV+T4FL+PM535EImD/h13hGVaHhnCu1xarBs =
You can’t perform that action at this time.
0 commit comments