From 9bdd97c1fad201241577ea54384757db35df281b Mon Sep 17 00:00:00 2001 From: "Jan Winkelmann (keks)" Date: Thu, 20 May 2021 11:49:01 +0200 Subject: [PATCH] Add LICENSE --- LICENSE | 21 +++++++++++++++++++++ doc.go | 2 ++ go.mod | 7 ++++++- go.sum | 2 ++ persist.go | 2 ++ persist_test.go | 2 ++ 6 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..77458fb --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2021 Jan Winkelmann + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/doc.go b/doc.go index 6190498..88d268f 100644 --- a/doc.go +++ b/doc.go @@ -1,2 +1,4 @@ +// SPDX-License-Identifier: MIT + // Package persist loads and saves Go objects to files. package persist diff --git a/go.mod b/go.mod index 1e9882a..acdae82 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,8 @@ module github.com/keks/persist -require github.com/pkg/errors v0.8.1 +go 1.16 + +require ( + github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 + github.com/pkg/errors v0.8.1 +) diff --git a/go.sum b/go.sum index f29ab35..2d95afa 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ +github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764= +github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod h1:h/aW8ynjgkuj+NQRlZcDbAbM1ORAbXjXX77sX7T289U= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/persist.go b/persist.go index 264138f..4fc4927 100644 --- a/persist.go +++ b/persist.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + package persist import ( diff --git a/persist_test.go b/persist_test.go index 4fb7897..569519c 100644 --- a/persist_test.go +++ b/persist_test.go @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: MIT + package persist_test import (