Categorygithub.com/go-orz/captcha
modulepackage
0.0.3
Repository: https://github.com/go-orz/captcha.git
Documentation: pkg.go.dev

# README

Captcha

验证码    验证码    验证码

验证码    验证码    验证码

验证码    验证码    验证码

Usage

package main

import (
	"log"

	"github.com/go-orz/captcha"
)

func main() {
	c, err := captcha.New()
	if err != nil {
		log.Fatal(err)
	}
	img, word := c.Create()
	println("captcha:", word)
	base64Encoding, err := captcha.ToBase64(img)
	if err != nil {
		log.Fatal(err)
	}
	println("base64:", base64Encoding)
}

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Constants

数字和字母.
No description provided by the author
No description provided by the author
No description provided by the author
纯字母.
No description provided by the author
纯数字.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author