From 7812f1aca5de73e04ceec6a570772785ed7a8b0d Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 8 Dec 2016 23:39:01 +0300 Subject: [PATCH] Simple types without useless optimization Protocol type is used only in few places, so no need in extra memory space optimization -- keep code simple. --- src/cypherpunks.ru/govpn/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cypherpunks.ru/govpn/client/client.go b/src/cypherpunks.ru/govpn/client/client.go index 093251d..e722a7f 100644 --- a/src/cypherpunks.ru/govpn/client/client.go +++ b/src/cypherpunks.ru/govpn/client/client.go @@ -30,7 +30,7 @@ import ( "cypherpunks.ru/govpn" ) -type Protocol uint8 +type Protocol int const ( ProtocolUDP Protocol = iota -- 2.44.0