refactor: code cleanup

This commit is contained in:
Marvin Zhang
2024-10-22 16:22:35 +08:00
parent a3694fb1fb
commit 5dd06adfbb
16 changed files with 5 additions and 1151 deletions

View File

@@ -8,8 +8,6 @@ require (
github.com/apex/log v1.9.0
github.com/cenkalti/backoff/v4 v4.3.0
github.com/crawlab-team/crawlab/trace v0.0.0-20240614095218-7b4ee8399ab0
github.com/gomodule/redigo v2.0.0+incompatible
github.com/jmoiron/sqlx v1.2.0
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
go.mongodb.org/mongo-driver v1.15.1
@@ -18,13 +16,10 @@ require (
require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-sql-driver/mysql v1.6.0 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/lib/pq v1.10.4 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-sqlite3 v1.14.9 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect