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

master
Charles Iliya Krempeaux 2023-10-23 11:44:12 -07:00
parent cf7c9418bc
commit 9755254f91
3 changed files with 10 additions and 10 deletions

View File

@ -1,14 +1,14 @@
package strfs package strfs
import ( import (
"github.com/reiver/go-fck" "sourcecode.social/reiver/go-erorr"
) )
const ( const (
errClosed = fck.Error("closed") errClosed = erorr.Error("closed")
errEmptyContent = fck.Error("empty content") errEmptyContent = erorr.Error("empty content")
errInternalError = fck.Error("internal error") errInternalError = erorr.Error("internal error")
errNilByteSlice = fck.Error("nil byte slice") errNilByteSlice = erorr.Error("nil byte slice")
errNilReader = fck.Error("nil reader") errNilReader = erorr.Error("nil reader")
errNilReceiver = fck.Error("nil receiver") errNilReceiver = erorr.Error("nil receiver")
) )

2
go.mod
View File

@ -2,4 +2,4 @@ module github.com/reiver/go-strfs
go 1.18 go 1.18
require github.com/reiver/go-fck v0.0.1 require sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 // indirect

4
go.sum
View File

@ -1,2 +1,2 @@
github.com/reiver/go-fck v0.0.1 h1:GhOiIp/4Au3iPUVC1YRfJJS5CdvLDNF9qt/n1lwgWnM= sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 h1:wpnz4JicQBLWrgGphYBls7DysIFCcnWgDz/vce/sY8E=
github.com/reiver/go-fck v0.0.1/go.mod h1:i77J0nD9GkSF0osPcURZbv9u19F0keF/mrhkgIu9wvM= sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1/go.mod h1:NFtd7fzEf0r6A6R7JXYZfayRhPaJy0zt/18VWoLzrxA=