Commit graph

2 commits

Author SHA1 Message Date
85bbf744fa
#18: Method renaming and tests
- Renamed `Msg.WriteToTempfile` to `Msg.WriteToTempFile`
- Added test coverage for `Msg.WriteToFile` and `Msg.WriteToTempFile`
2022-06-09 10:11:37 +02:00
491b5941aa
#18: Added WriteToTempfile() which will create a temporary output file
- We have two versions of this method:
  - One for Go versions below 1.17 using `ioutil.TempFile()`
  - One for Go versions >= 1.17 using `os.CreateTemp()`
2022-06-09 09:57:01 +02:00