From 72c4b2518a77ee9952a0fa25ae671f06d8d85570 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 26 Jan 2020 22:30:00 -0500 Subject: it compiles --- rrdformat/rrdbinary/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rrdformat/rrdbinary/errors.go') diff --git a/rrdformat/rrdbinary/errors.go b/rrdformat/rrdbinary/errors.go index 984e0a5..1e61af0 100644 --- a/rrdformat/rrdbinary/errors.go +++ b/rrdformat/rrdbinary/errors.go @@ -13,7 +13,7 @@ type BinaryError struct { ctxEOF bool } -func newBinError(msg string, ctxFile []byte, ctxStart, ctxLen int) error { +func NewBinError(msg string, ctxFile []byte, ctxStart, ctxLen int) error { if ctxStart+ctxLen > len(ctxFile) { ctxLen = len(ctxFile) - ctxStart } -- cgit v1.2.3-2-g168b