github.com/qjfoidnh/BaiduPCS-Go@v0.0.0-20231011165705-caa18a3765f3/internal/pcscommand/runner.go (about) 1 package pcscommand 2 3 import ( 4 "io" 5 "os" 6 ) 7 8 var ( 9 // DefaultRunner 默认 Runner 10 DefaultRunner = Runner{ 11 Output: os.Stdout, 12 } 13 ) 14 15 type ( 16 // Runner 执行器 17 Runner struct { 18 Output io.Writer 19 IsBackground bool 20 } 21 )