Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package output |
||
2 | |||
3 | import ( |
||
4 | "encoding/json" |
||
5 | |||
6 | "github.com/stefanoj3/dirstalk/pkg/scan" |
||
7 | ) |
||
8 | |||
9 | func convertResultToRawData(r scan.Result) ([]byte, error) { |
||
10 | return json.Marshal(r) |
||
11 | } |
||
12 |