From 86fbef2e8af3f69141b2db3f88e9dcf3bdb0b7f1 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sun, 1 May 2022 20:51:13 -0700 Subject: [PATCH] Remove the no-longer useful none type alias --- socket.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/socket.go b/socket.go index 828570d..43771a1 100644 --- a/socket.go +++ b/socket.go @@ -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")