all repos — captcha @ d7cb604d49c3777d159741e1df389c6c540310f8

Go package captcha implements generation and verification of image and audio CAPTCHAs.

Add copyright headers.

sounds.go doesn't have a copyright header, because the file is generated
by a program. I don't want to make it output the copyright header,
because users can generate sounds themselves, and the copyright status
of such generated files can be different.
Dmitry Chestnykh dmitry@codingrobots.com
Tue, 24 May 2011 11:05:31 +0200
commit

d7cb604d49c3777d159741e1df389c6c540310f8

parent

7fee67a2e84f0aede30b443a401b7893504a02f1

M audio.goaudio.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M audio_test.goaudio_test.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M capgen/main.gocapgen/main.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + // capgen is an utility to test captcha generation. package main
M captcha.gocaptcha.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + // Package captcha implements generation and verification of image and audio // CAPTCHAs. //
M captcha_test.gocaptcha_test.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M example/main.goexample/main.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + // example of HTTP server that uses the captcha package. package main
M font.gofont.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha const (
M generate/main.gogenerate/main.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + // generate is a tool to generate sounds.go from WAVE files. // // It creates (or rewrites) sounds.go in the parent directory.
M image.goimage.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M image_test.goimage_test.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M random.gorandom.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M server.goserver.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M store.gostore.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (
M store_test.gostore_test.go

@@ -1,3 +1,7 @@

+// Copyright 2011 Dmitry Chestnykh. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + package captcha import (