github.com/reiver/go-fck -> sourcecode.social/reiver/go-erorr

master
Charles Iliya Krempeaux 2023-10-25 14:01:31 -07:00
parent cc99ea7cf8
commit 5127098a61
3 changed files with 9 additions and 9 deletions

View File

@ -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")
)

2
go.mod
View File

@ -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
)

4
go.sum
View File

@ -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=