-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What did you do?
Integrate the Fetcher and Search option into my program by using the SQLite database. I would like to use go-exploitdb as library in an own program with SQLite database for offline usage
What did you expect to happen?
I get an error batch-size option is not set properly
Steps to reproduce the behaviour
See the line the batch-size is set by an environment variable / argument flag and not by a property of the RDBDriver struct.
Solution Suggestion
Add to the Option struct a property batchSize: uint and use it instead of the viper.GetInt("batch-size") call and it would be nice to provide a default value.
Configuration:
- Go version (
go version): 1.22 - go-exploitdb environment: Version 0.4.6
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working