Remove the no-longer useful none type alias
This commit is contained in:
parent
e5e6bab7e3
commit
f1a7a87ef8
@ -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