X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fnncp.go;h=dc64ffc14d0263a559a5663afe4423b880a534d5;hb=2c8c42466ffd977652d3468681e2c69bdc8fae6d;hp=93e4446aa6e87425fd09764a719219ef2d84970b;hpb=510478b83a2808262f7167fffe5296b489a2bf03;p=nncp.git diff --git a/src/nncp.go b/src/nncp.go index 93e4446..dc64ffc 100644 --- a/src/nncp.go +++ b/src/nncp.go @@ -1,6 +1,6 @@ /* NNCP -- Node to Node copy, utilities for store-and-forward data exchange -Copyright (C) 2016-2020 Sergey Matveev +Copyright (C) 2016-2023 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,11 +19,14 @@ along with this program. If not, see . package nncp import ( + "encoding/base32" "runtime" ) const ( - Warranty = `This program is free software: you can redistribute it and/or modify + Warranty = `Copyright (C) 2016-2023 Sergey Matveev + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License. @@ -34,22 +37,15 @@ 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 ) var ( - Version string = "UNKNOWN" + Version string = "8.8.4" + + Base32Codec *base32.Encoding = base32.StdEncoding.WithPadding(base32.NoPadding) ) func VersionGet() string { return "NNCP version " + Version + " built with " + runtime.Version() } - -func UsageHeader() string { - return VersionGet() + ` -Copyright (C) 2016-2020 Sergey Matveev -License GPLv3: GNU GPL version 3 -This is free software: you are free to change and redistribute it. -There is NO WARRANTY, to the extent permitted by law. - -` -}