From 85351bf5767d63d916bbb70080312869dcb7f8d2 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Thu, 6 Oct 2022 20:13:03 +0200 Subject: [PATCH] chore add licenses --- LICENSE | 1 + Makefile | 2 +- doc.go | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 doc.go diff --git a/LICENSE b/LICENSE index 29ebfa5..aa252c4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,6 @@ GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 + AGPL-3.0-or-later Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies diff --git a/Makefile b/Makefile index 61f670d..58d0f18 100644 --- a/Makefile +++ b/Makefile @@ -139,7 +139,7 @@ endif .PHONY: fetch-licenses ## Fetch licenses for all modules fetch-licenses: - go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ ; cd - + go-licenses save $(GO_CURRENT_MODULE) --force --save_path $(PROJECT_ROOT)licenses/ ; cd - # https://spdx.github.io/spdx-spec/v2.3/SPDX-license-list/ ADDLICENSE_BIN ?= addlicense diff --git a/doc.go b/doc.go new file mode 100644 index 0000000..d0684b3 --- /dev/null +++ b/doc.go @@ -0,0 +1,20 @@ +// This package provides a simple way to negotiate the content type of HTTP requests. +// The language, encoding and charset are also supported. + +// Copyright 2022 schukai GmbH +// SPDX-License-Identifier: AGPL-3.0-or-later + +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. + +package negotiation -- GitLab