From fb50919f0bb9a39513c6e22a100a611cfb02d96b Mon Sep 17 00:00:00 2001 From: krichard1212 Date: Fri, 26 Jul 2024 10:52:45 +0200 Subject: [PATCH] fix faker version --- cmd/mock_data.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/mock_data.go b/cmd/mock_data.go index b843f7e..cd7bf5c 100644 --- a/cmd/mock_data.go +++ b/cmd/mock_data.go @@ -2,7 +2,7 @@ package cmd import ( "fmt" - "github.com/bxcodec/faker/v4" + "github.com/go-faker/faker/v4" "github.com/openshieldai/openshield/lib" "github.com/openshieldai/openshield/models" "gorm.io/gorm" diff --git a/go.mod b/go.mod index 1d80d6d..448fca6 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module github.com/openshieldai/openshield go 1.22 require ( - github.com/bxcodec/faker/v4 v4.0.0-beta.3 github.com/cespare/xxhash/v2 v2.3.0 github.com/fsnotify/fsnotify v1.7.0 + github.com/go-faker/faker/v4 v4.4.2 github.com/gofiber/fiber/v2 v2.52.5 github.com/gofiber/storage/redis/v3 v3.1.2 github.com/google/uuid v1.6.0 diff --git a/go.sum b/go.sum index 98c54ed..8c06857 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,6 @@ github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs= github.com/bsm/ginkgo/v2 v2.12.0/go.mod h1:SwYbGRRDovPVboqFv0tPTcG1sN61LM1Z4ARdbAV9g4c= github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA= github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0= -github.com/bxcodec/faker/v4 v4.0.0-beta.3 h1:gqYNBvN72QtzKkYohNDKQlm+pg+uwBDVMN28nWHS18k= -github.com/bxcodec/faker/v4 v4.0.0-beta.3/go.mod h1:m6+Ch1Lj3fqW/unZmvkXIdxWS5+XQWPWxcbbQW2X+Ho= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= @@ -21,6 +19,8 @@ github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHk github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= +github.com/go-faker/faker/v4 v4.4.2 h1:96WeU9QKEqRUVYdjHquY2/5bAqmVM0IfGKHV5mbfqmQ= +github.com/go-faker/faker/v4 v4.4.2/go.mod h1:4K3v4AbKXYNHMQNaREMc9/kRB9j5JJzpFo6KHRvrcIw= github.com/gofiber/fiber/v2 v2.52.5 h1:tWoP1MJQjGEe4GB5TUGOi7P2E0ZMMRx5ZTG4rT+yGMo= github.com/gofiber/fiber/v2 v2.52.5/go.mod h1:KEOE+cXMhXG0zHc9d8+E38hoX+ZN7bhOtgeF2oT6jrQ= github.com/gofiber/storage/redis/v3 v3.1.2 h1:qYHSRbkRQCD9HovLOOoswe+DoGF28/hwD4d8kmxDNcs=