diff --git a/errors.go b/errors.go index 36ee38c..1e842c8 100644 --- a/errors.go +++ b/errors.go @@ -1,16 +1,16 @@ package buffers import ( - "github.com/reiver/go-fck" + "sourcecode.social/reiver/go-erorr" ) var ( - BufferOverflow = fck.Error("buffer overflow") + BufferOverflow = erorr.Error("buffer overflow") ) var ( - errNilDestination = fck.Error("nil destination") - errNilReader = fck.Error("nil reader") - errNilReceiver = fck.Error("nil receiver") - errShortWrite = fck.Error("short write") + errNilDestination = erorr.Error("nil destination") + errNilReader = erorr.Error("nil reader") + errNilReceiver = erorr.Error("nil receiver") + errShortWrite = erorr.Error("short write") ) diff --git a/go.mod b/go.mod index c4e0fdb..51eac6e 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/reiver/go-buffers go 1.18 require ( - github.com/reiver/go-fck v0.0.1 // indirect github.com/reiver/go-opt v1.3.0 // indirect github.com/reiver/go-utf8 v2.0.1+incompatible // indirect + sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 // indirect ) diff --git a/go.sum b/go.sum index cf3d053..a28a69d 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ -github.com/reiver/go-fck v0.0.1 h1:GhOiIp/4Au3iPUVC1YRfJJS5CdvLDNF9qt/n1lwgWnM= -github.com/reiver/go-fck v0.0.1/go.mod h1:i77J0nD9GkSF0osPcURZbv9u19F0keF/mrhkgIu9wvM= github.com/reiver/go-opt v1.3.0 h1:DyDUwxXiRuszOFQxVkjJx52Rrhcr8jpTGrwn/KHA77A= github.com/reiver/go-opt v1.3.0/go.mod h1:/GNk2aLHdf9WB/ATueDbAYCaQETT6Bq+PPOKhV1qV0U= github.com/reiver/go-utf8 v2.0.1+incompatible h1:f1rRbwTIcUaX+1wnLM1+FWelKegAxTURE9MkZCRVOPM= github.com/reiver/go-utf8 v2.0.1+incompatible/go.mod h1:tfGntNDUeEZIAsz0mTu0lF7/IlErc+BpQgO6yxYmJig= +sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 h1:wpnz4JicQBLWrgGphYBls7DysIFCcnWgDz/vce/sY8E= +sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1/go.mod h1:NFtd7fzEf0r6A6R7JXYZfayRhPaJy0zt/18VWoLzrxA=