Remove the no-longer useful none type alias

This commit is contained in:
Elara 2022-05-01 20:51:13 -07:00
parent e5e6bab7e3
commit f1a7a87ef8

View File

@ -35,11 +35,6 @@ import (
"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 (
ErrDFUInvalidFile = errors.New("provided file is invalid for given upgrade type")
ErrDFUNotEnoughFiles = errors.New("not enough files provided for given upgrade type")