(path string)
| 164 | } |
| 165 | |
| 166 | func readBytes(path string) ([]byte, error) { |
| 167 | file, err := os.Open(filepath.Clean(path)) |
| 168 | if err != nil { |
| 169 | return nil, err |
| 170 | } |
| 171 | defer file.Close() |
| 172 | |
| 173 | return io.ReadAll(file) |
| 174 | } |
no test coverage detected