Remove unused function makeErrorChan
Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
parent
de0a327423
commit
53574532ec
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue