(f *os.File, content string)
| 144 | } |
| 145 | |
| 146 | func appendLog(f *os.File, content string) error { |
| 147 | _, err := f.WriteString(content) |
| 148 | return err |
| 149 | } |
| 150 | |
| 151 | func appendJSONLog(f *os.File, entry response.FileConvertLog) error { |
| 152 | data, err := json.Marshal(entry) |