aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <xena@yolo-swag.com>2015-03-26 10:04:17 -0700
committerChristine Dodrill <xena@yolo-swag.com>2015-03-26 10:04:17 -0700
commit2b153c447a19413a5d3150ed889ccffc2b47af71 (patch)
tree16ea4ef2b83d8686622d2c8369fedddc3344ee80
parent4fb04658f40fc580de5f79dd8a1aca405f052f0a (diff)
downloadx-2b153c447a19413a5d3150ed889ccffc2b47af71.tar.xz
x-2b153c447a19413a5d3150ed889ccffc2b47af71.zip
add all rights reserved
-rw-r--r--license/licenses.go43
1 files changed, 24 insertions, 19 deletions
diff --git a/license/licenses.go b/license/licenses.go
index c63f0d9..fd1d2e5 100644
--- a/license/licenses.go
+++ b/license/licenses.go
@@ -4,28 +4,33 @@ var licenses map[string]string
func init() {
licenses = map[string]string{
- "zlib": ZlibLicense,
- "unlicense": Unlicense,
- "mit": MitLicense,
- "apache": ApacheLicense,
- "bsd-2": Bsd2Clause,
- "bsd-3": Bsd3Clause,
- "bzip2": BzipLicense,
- "isc": ISCLicense,
- "gpl-2": Gpl2License,
- "gpl-3": Gpl3License,
- "lgpl-2": LGPL2License,
- "wtfpl": WTFPlLicense,
- "afreeo": AfreeoLicense,
- "hackmii": HackMiiLicense,
- "artistic": ArtisticLicense,
- "cc0": CC0License,
- "allpermissive": AllPermissiveLicense,
- "json": JsonLicense,
- "lha": LhaLicense,
+ "zlib": ZlibLicense,
+ "unlicense": Unlicense,
+ "mit": MitLicense,
+ "apache": ApacheLicense,
+ "bsd-2": Bsd2Clause,
+ "bsd-3": Bsd3Clause,
+ "bzip2": BzipLicense,
+ "isc": ISCLicense,
+ "gpl-2": Gpl2License,
+ "gpl-3": Gpl3License,
+ "lgpl-2": LGPL2License,
+ "wtfpl": WTFPlLicense,
+ "afreeo": AfreeoLicense,
+ "hackmii": HackMiiLicense,
+ "artistic": ArtisticLicense,
+ "cc0": CC0License,
+ "allpermissive": AllPermissiveLicense,
+ "json": JsonLicense,
+ "lha": LhaLicense,
+ "allrightsreserved": AllRightsReserved,
}
}
+var AllRightsReserved = `Copyright (c) {{.Year}} {{.Name}} <{{.Email}}>
+
+All rights reserved.`
+
var LhaLicense = `Copyright (c) {{.Year}} {{.Name}} <{{.Email}}>
Original Authors License Statement (from man/lha.man, translated by