Remove the no-longer useful none type alias

This commit is contained in:
Elara 2022-05-01 20:51:13 -07:00
parent 7b8658e072
commit 86fbef2e8a

View File

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