aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-09-11 13:45:03 +0000
committerChristine Dodrill <me@christine.website>2019-09-11 13:45:44 +0000
commit3263cceb69b2ab47248fdeffb04d1e0e6fc2bf07 (patch)
treed8595e35c36b58cd2c2d2968e1c502f8459a348f /cmd
parent4370c9623043cb6bbe4e0d77232cf421468dfd6e (diff)
downloadx-3263cceb69b2ab47248fdeffb04d1e0e6fc2bf07.tar.xz
x-3263cceb69b2ab47248fdeffb04d1e0e6fc2bf07.zip
0bsd
Diffstat (limited to 'cmd')
-rw-r--r--cmd/license/licenses/licenses.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/license/licenses/licenses.go b/cmd/license/licenses/licenses.go
index 0d3ff72..0fca177 100644
--- a/cmd/license/licenses/licenses.go
+++ b/cmd/license/licenses/licenses.go
@@ -35,9 +35,23 @@ func init() {
"fair": FairLicense,
"yolo": YoloLicense,
"icu996": ICU996License,
+ "0bsd": ZeroBSD,
}
}
+const ZeroBSD = `Copyright (c) {{.Year}} {{.Name}} <{{.Email}}>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.`
+
const AntiFacistMIT = `Copyright (c) {{.Year}} {{.Name}} <{{.Email}}>
The following license is modified from the MIT license.