# HG changeset patch # User Mikael Berthe # Date 1476613229 -7200 # Node ID 8dc05ff5dbe2c665515ee51bb2f6a6ffe0d0323f # Parent 4b3436c03726c2595b03cdfed341c336538f51fc Add (MIT) license Add license and copyright information. The package should be ready for public release. diff -r 4b3436c03726 -r 8dc05ff5dbe2 LICENSE.txt --- /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 + +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. diff -r 4b3436c03726 -r 8dc05ff5dbe2 build.go --- 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 . 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" diff -r 4b3436c03726 -r 8dc05ff5dbe2 errors.go --- 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 . 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" diff -r 4b3436c03726 -r 8dc05ff5dbe2 gotak/LICENSE.txt --- /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 + +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. diff -r 4b3436c03726 -r 8dc05ff5dbe2 gotak/gotak.go --- 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 . 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 ( diff -r 4b3436c03726 -r 8dc05ff5dbe2 gotak/pdf.go --- 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 . 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 ( diff -r 4b3436c03726 -r 8dc05ff5dbe2 solve.go --- 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 . 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" diff -r 4b3436c03726 -r 8dc05ff5dbe2 takuzu.go --- 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 . 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 ( diff -r 4b3436c03726 -r 8dc05ff5dbe2 validate.go --- 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 . 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.