Remove unused function makeErrorChan

Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
akp 2021-12-25 19:07:43 +00:00
parent de0a327423
commit 53574532ec
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -28,13 +28,6 @@ type Result struct {
Duration float64 `json:"duration"`
}
func makeErrorChan(err error) chan ResultOrError {
c := make(chan ResultOrError, 1)
c <- ResultOrError{Error: err}
close(c)
return c
}
type customWriter struct {
pending []byte
entries [][]byte