(line []string)
| 114 | } |
| 115 | |
| 116 | func (s *Session) WriteToCsv(line []string) { |
| 117 | if *s.Options.CsvPath == "" { |
| 118 | return |
| 119 | } |
| 120 | |
| 121 | s.CsvWriter.Write(line) |
| 122 | s.CsvWriter.Flush() |
| 123 | } |
| 124 | |
| 125 | func GetSession() *Session { |
| 126 | sessionSync.Do(func() { |
no outgoing calls
no test coverage detected