forked from Elara6331/itd
Remove the no-longer useful none type alias
This commit is contained in:
parent
7b8658e072
commit
86fbef2e8a
@ -35,11 +35,6 @@ import (
|
|||||||
"go.arsenm.dev/lrpc/server"
|
"go.arsenm.dev/lrpc/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This type signifies an unneeded value.
|
|
||||||
// A struct{} is used as it takes no space in memory.
|
|
||||||
// This exists for readability purposes
|
|
||||||
type none = struct{}
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ErrDFUInvalidFile = errors.New("provided file is invalid for given upgrade type")
|
ErrDFUInvalidFile = errors.New("provided file is invalid for given upgrade type")
|
||||||
ErrDFUNotEnoughFiles = errors.New("not enough files provided for given upgrade type")
|
ErrDFUNotEnoughFiles = errors.New("not enough files provided for given upgrade type")
|
||||||
|
Loading…
Reference in New Issue
Block a user