Bladeren bron

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 15 jaren geleden
bovenliggende
commit
d7cb604d49
14 gewijzigde bestanden met toevoegingen van 56 en 0 verwijderingen
  1. 4 0
      audio.go
  2. 4 0
      audio_test.go
  3. 4 0
      capgen/main.go
  4. 4 0
      captcha.go
  5. 4 0
      captcha_test.go
  6. 4 0
      example/main.go
  7. 4 0
      font.go
  8. 4 0
      generate/main.go
  9. 4 0
      image.go
  10. 4 0
      image_test.go
  11. 4 0
      random.go
  12. 4 0
      server.go
  13. 4 0
      store.go
  14. 4 0
      store_test.go

+ 4 - 0
audio.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 (

+ 4 - 0
audio_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 (

+ 4 - 0
capgen/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
 

+ 4 - 0
captcha.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.
 //

+ 4 - 0
captcha_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 (

+ 4 - 0
example/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
 

+ 4 - 0
font.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 (

+ 4 - 0
generate/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.

+ 4 - 0
image.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 (

+ 4 - 0
image_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 (

+ 4 - 0
random.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 (

+ 4 - 0
server.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 (

+ 4 - 0
store.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 (

+ 4 - 0
store_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 (