Compare commits

...

2 commits
v1.4.3 ... main

Author SHA1 Message Date
669a328c35 Moved to concord 2024-07-10 16:49:19 +01:00
31a767886d Update captcha.go 2024-05-02 00:29:35 +01:00
4 changed files with 9 additions and 9 deletions

View file

@ -2,8 +2,8 @@
<div>
[![PkgGoDev](https://pkg.go.dev/badge/centrifuge.hectabit.org/HectaBit/captcha)](https://pkg.go.dev/centrifuge.hectabit.org/HectaBit/captcha)
[![Go Report Card](https://goreportcard.com/badge/centrifuge.hectabit.org/HectaBit/captcha)](https://goreportcard.com/report/centrifuge.hectabit.org/HectaBit/captcha)
[![PkgGoDev](https://pkg.go.dev/badge/concord.hectabit.org/HectaBit/captcha)](https://pkg.go.dev/concord.hectabit.org/HectaBit/captcha)
[![Go Report Card](https://goreportcard.com/badge/concord.hectabit.org/HectaBit/captcha)](https://goreportcard.com/report/concord.hectabit.org/HectaBit/captcha)
</div>
@ -12,7 +12,7 @@ Because I can.
## install
```
go get centrifuge.hectabit.org/HectaBit/captcha
go get concord.hectabit.org/HectaBit/captcha
```
## usage
@ -30,7 +30,7 @@ func handle(w http.ResponseWriter, r *http.Request) {
```
[documentation](https://pkg.go.dev/centrifuge.hectabit.org/HectaBit/captcha) |
[documentation](https://pkg.go.dev/concord.hectabit.org/HectaBit/captcha) |
[example](example/basic/main.go) |
[font example](example/load-font/main.go)

View file

@ -62,7 +62,7 @@ func newDefaultOption(width, height int) *Options {
return &Options{
BackgroundColor: color.Transparent,
CharPreset: charPreset,
TextLength: 4,
TextLength: 6,
CurveNumber: 2,
FontDPI: 72.0,
FontScale: 1.0,

View file

@ -1,7 +1,7 @@
module centrifuge.hectabit.org/HectaBit/captcha/example/basic
module concord.hectabit.org/HectaBit/captcha/example/basic
go 1.12
replace centrifuge.hectabit.org/HectaBit/captcha => ../../
replace concord.hectabit.org/HectaBit/captcha => ../../
require centrifuge.hectabit.org/HectaBit/captcha v0.0.0-00010101000000-000000000000
require concord.hectabit.org/HectaBit/captcha v0.0.0-00010101000000-000000000000

2
go.mod
View file

@ -1,4 +1,4 @@
module centrifuge.hectabit.org/HectaBit/captcha
module concord.hectabit.org/HectaBit/captcha
go 1.20