NewDumper create a new Dumper.
(opt Options)
| 129 | |
| 130 | // NewDumper create a new Dumper. |
| 131 | func NewDumper(opt Options) *Dumper { |
| 132 | d := &Dumper{ |
| 133 | Options: opt, |
| 134 | ch: make(chan *dumpTask, 20), |
| 135 | } |
| 136 | return d |
| 137 | } |
| 138 | |
| 139 | func (d *Dumper) SetOptions(opt Options) { |
| 140 | d.Options = opt |
no outgoing calls
searching dependent graphs…