Allow configuration options to be passed to module constructor
jaypipes opened this issue · comments
Jay Pipes commented
This is the sister issue to ghw
's jaypipes/ghw#86.
Create an Options
struct pointer and sets appropriate chroot value. Modify the pcidb.New()
function to accept one or more Options
struct pointers. If none are passed, construct a default Options
from the environs vars and use that.