From: Sergey Matveev Date: Sun, 13 Aug 2023 16:49:16 +0000 (+0300) Subject: Do not use multiline const-s with single entry X-Git-Tag: v8.9.0^2~4 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=2c8c42466ffd977652d3468681e2c69bdc8fae6d Do not use multiline const-s with single entry --- diff --git a/src/mcd.go b/src/mcd.go index aceee17..a191712 100644 --- a/src/mcd.go +++ b/src/mcd.go @@ -28,9 +28,7 @@ import ( xdr "github.com/davecgh/go-xdr/xdr2" ) -const ( - MCDPort = 5400 -) +const MCDPort = 5400 type MCD struct { Magic [8]byte diff --git a/src/nncp.go b/src/nncp.go index 8ee3fb0..dc64ffc 100644 --- a/src/nncp.go +++ b/src/nncp.go @@ -37,10 +37,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see .` + Base32Encoded32Len = 52 ) -const Base32Encoded32Len = 52 - var ( Version string = "8.8.4"