Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
669a328c35 | |||
31a767886d |
4 changed files with 9 additions and 9 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
<div>
|
||||
|
||||
[](https://pkg.go.dev/centrifuge.hectabit.org/HectaBit/captcha)
|
||||
[](https://goreportcard.com/report/centrifuge.hectabit.org/HectaBit/captcha)
|
||||
[](https://pkg.go.dev/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)
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module centrifuge.hectabit.org/HectaBit/captcha
|
||||
module concord.hectabit.org/HectaBit/captcha
|
||||
|
||||
go 1.20
|
||||
|
||||
|
|
Reference in a new issue