You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 usageWhat 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 theviper.GetInt("batch-size")
call and it would be nice to provide a default value.Configuration:
go version
): 1.22The text was updated successfully, but these errors were encountered: