Add (MIT) license
authorMikael Berthe <mikael@lilotux.net>
Sun, 16 Oct 2016 12:20:29 +0200
changeset 10 8dc05ff5dbe2
parent 9 4b3436c03726
child 11 cd1296df76f1
Add (MIT) license Add license and copyright information. The package should be ready for public release.
LICENSE.txt
build.go
errors.go
gotak/LICENSE.txt
gotak/gotak.go
gotak/pdf.go
solve.go
takuzu.go
validate.go
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LICENSE.txt	Sun Oct 16 12:20:29 2016 +0200
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>
+
+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.
--- a/build.go	Sun Oct 16 11:52:01 2016 +0200
+++ b/build.go	Sun Oct 16 12:20:29 2016 +0200
@@ -1,5 +1,12 @@
+// Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>. All rights reserved.
+// Use of this source code is governed by the MIT license,
+// which can be found in the LICENSE file.
+
 package takuzu
 
+// This file contains the functions and methods used to build a new takuzu
+// puzzle.
+
 import (
 	"fmt"
 	"log"
--- a/errors.go	Sun Oct 16 11:52:01 2016 +0200
+++ b/errors.go	Sun Oct 16 12:20:29 2016 +0200
@@ -1,3 +1,7 @@
+// Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>. All rights reserved.
+// Use of this source code is governed by the MIT license,
+// which can be found in the LICENSE file.
+
 package takuzu
 
 import "fmt"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gotak/LICENSE.txt	Sun Oct 16 12:20:29 2016 +0200
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>
+
+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.
--- a/gotak/gotak.go	Sun Oct 16 11:52:01 2016 +0200
+++ b/gotak/gotak.go	Sun Oct 16 12:20:29 2016 +0200
@@ -1,3 +1,7 @@
+// Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>. All rights reserved.
+// Use of this source code is governed by the MIT license,
+// which can be found in the LICENSE file.
+
 package main
 
 import (
--- a/gotak/pdf.go	Sun Oct 16 11:52:01 2016 +0200
+++ b/gotak/pdf.go	Sun Oct 16 12:20:29 2016 +0200
@@ -1,3 +1,7 @@
+// Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>. All rights reserved.
+// Use of this source code is governed by the MIT license,
+// which can be found in the LICENSE file.
+
 package main
 
 import (
--- a/solve.go	Sun Oct 16 11:52:01 2016 +0200
+++ b/solve.go	Sun Oct 16 12:20:29 2016 +0200
@@ -1,5 +1,11 @@
+// Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>. All rights reserved.
+// Use of this source code is governed by the MIT license,
+// which can be found in the LICENSE file.
+
 package takuzu
 
+// This file contains the methods used to solve a takuzu puzzle.
+
 import (
 	"fmt"
 	"log"
--- a/takuzu.go	Sun Oct 16 11:52:01 2016 +0200
+++ b/takuzu.go	Sun Oct 16 12:20:29 2016 +0200
@@ -1,3 +1,9 @@
+// Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>. All rights reserved.
+// Use of this source code is governed by the MIT license,
+// which can be found in the LICENSE file.
+
+// Package takuzu provides functions to solve, build or validate takuzu
+// puzzles.
 package takuzu
 
 import (
--- a/validate.go	Sun Oct 16 11:52:01 2016 +0200
+++ b/validate.go	Sun Oct 16 12:20:29 2016 +0200
@@ -1,3 +1,7 @@
+// Copyright (C) 2016 Mikael Berthe <mikael@lilotux.net>. All rights reserved.
+// Use of this source code is governed by the MIT license,
+// which can be found in the LICENSE file.
+
 package takuzu
 
 // This file contains the takuzu validation functions and methods.