File is a file writer used for logging.
| 10 | |
| 11 | // File is a file writer used for logging. |
| 12 | type File struct { |
| 13 | writer *os.File |
| 14 | } |
| 15 | |
| 16 | // NewFile creates and returns a pointer to a new File object along with any error that occurred. |
| 17 | func NewFile(filename string) (*File, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected