# go-captcha-example **Repository Path**: wenlng/go-captcha-example ## Basic Information - **Project Name**: go-captcha-example - **Description**: GoCaptcha 行为验证码实例合集,Golang / JavaScript / Vue / React / Angular / Solid / Svelte / UniApp - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-11-22 - **Last Updated**: 2025-02-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Go Captcha

Golang/前端的实例合集


> [English](README.md) | 中文 >

Go Captcha 是行为式验证码,支持文本/图形点选、滑动/拖拽、旋转等验证模式。

⭐️ 如果能帮助到你,请随手给点一个star

QQ交流群:178498936

Poster

- GoCaptcha:[https://github.com/wenlng/go-captcha](https://github.com/wenlng/go-captcha) - GoCaptcha 文档:[http://gocaptcha.wencodes.com](http://gocaptcha.wencodes.com) - Golang 内嵌素材资源:[https://github.com/wenlng/go-captcha-assets](https://github.com/wenlng/go-captcha-assets) - Golang/前端的实例:[https://github.com/wenlng/go-captcha-example](https://github.com/wenlng/go-captcha-example) - 在线演示 URL:[http://gocaptcha.wencodes.com/demo/](http://gocaptcha.wencodes.com/demo/) - Javascript 原生库:[https://github.com/wenlng/go-captcha-jslib](https://github.com/wenlng/go-captcha-jslib) - Vue Package:[https://github.com/wenlng/go-captcha-vue](https://github.com/wenlng/go-captcha-vue) - React Package:[https://github.com/wenlng/go-captcha-react](https://github.com/wenlng/go-captcha-react) - Angular Package:[https://github.com/wenlng/go-captcha-angular](https://github.com/wenlng/go-captcha-angular) - Svelte Package:[https://github.com/wenlng/go-captcha-svelte](https://github.com/wenlng/go-captcha-svelte) - Solid Package:[https://github.com/wenlng/go-captcha-solid](https://github.com/wenlng/go-captcha-solid) - UniApp Module:[https://github.com/wenlng/go-captcha-uni](https://github.com/wenlng/go-captcha-uni) - ...
```shell git clone https://github.com/wenlng/go-captcha-example.git cd go-captcha-example go mod download go run main.go ``` 浏览器打开: http://127.0.0.1:9001/go-captcha-example
### 目录结构 ```text |-golang // Golang 实例 |-internal |-app |-cache |-logic |-captdata |-click_basic.go // 生成文本点选验证码数据 |-click_shape.go // 生成图形点选验证码数据 |-rotate_basic.go // 生成旋转验证码数据 |-slide_basic.go // 生成滑动验证码数据 |-slide_region.go // 生成拖拽验证码数据 |-checkdata |-click.go // 点选验证码校验 |-rotate.go // 旋转验证码校验 |-slide.go // 滑动/拖拽验证码校验 |-web |-native // Javascript 原生实例 |-bower // Javascript 原生实例,bower工具管理 |-vue // Vue3 实例 |-vue2 // Vue2 实例 vue2.7~vue3.0 |-vue<2.7 // Vue2 实例 vue2.0~vue2.7 |-react // React 实例 |-angular // Angular 实例 |-solid // Solid 实例 |-svelte // Svelte 实例 |-app |-uniapp // uniApp 实例 ```
--------------------- ## 👍 赞助一下
http://gocaptcha.wencodes.com/sponsor/