diff --git a/LICENSE b/LICENSE index 29ebfa545f5580919a4e884d7014d7a3eb2df762..aa252c4eb72c2a7626b81b08a9c2ed24cc1d4aee 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 61f670de557dba86523332b5e060512048756e21..58d0f18a2f678fe69362102d009d4c5f967cea46 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 0000000000000000000000000000000000000000..d0684b3e248271283f5ce36b94f9735629108f29 --- /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