From 0e2514dc8702cad6a35cff010292d0fa039560da Mon Sep 17 00:00:00 2001 From: Banana Date: Thu, 5 Oct 2023 11:31:55 +0200 Subject: [PATCH] go client updates --- client/go-client/README | 3 ++- client/go-client/selfpaste.go | 23 ++++++++++++++++------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/client/go-client/README b/client/go-client/README index f2b8de2..4e13bae 100644 --- a/client/go-client/README +++ b/client/go-client/README @@ -6,4 +6,5 @@ This is a very simple, with limited experience written, go program. Use at own risk and feel free to improve. Howto build: -Nothing special, just go build -o selfpaste +Nothing special, just: +go build -o selfpaste diff --git a/client/go-client/selfpaste.go b/client/go-client/selfpaste.go index 910b753..edc5ba5 100644 --- a/client/go-client/selfpaste.go +++ b/client/go-client/selfpaste.go @@ -15,13 +15,22 @@ import ( "encoding/json" ) -// This program is free software: you can redistribute it and/or modify -// it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE -// You should have received a copy of the -// COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 -// along with this program. If not, see http://www.sun.com/cddl/cddl.html - -// 2019 - 2022 https://://www.bananas-playground.net/projekt/selfpaste +/** + * 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, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 http://www.gnu.org/licenses/gpl-3.0. + * + * 2019 - 2023 https://://www.bananas-playground.net/projekt/selfpaste + */ /** * !WARNING! -- 2.39.5