fix typo and lint

This commit is contained in:
Weilin Shi 2021-07-28 21:26:53 +08:00
parent 53e75b199a
commit a4223da22a
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ func handle(w http.ResponseWriter, r *http.Request) {
## Compatibility ## Compatibility
This package uses embed package from Go 1.16. If for some reason you have to use pre 1.16 version of Go, reference pre 1.4 version of this module in your go.mod. This package uses embed package from Go 1.16. If for some reasons you have to use pre 1.16 version of Go, reference pre 1.4 version of this module in your go.mod.
## Contributing ## Contributing
If your found a bug, please contribute! If your found a bug, please contribute!

View File

@ -3,7 +3,7 @@ package captcha
import ( import (
"bytes" "bytes"
_ "embed" _ "embed" // embed font
"image" "image"
"image/color" "image/color"
"image/draw" "image/draw"