golang jwt鉴权

package model import ( "fmt" "time" jwt "github.com/dgrijalva/jwt-go" ) ...

bootstrap4 表单验证以ajax的方式提交 非submit表单提交

<div className="row "> <div className="col-sm"> 你好:) </d...

windows窗口透明工具

点击后自动隐藏然后使用快捷:Ctrl + Alt + 1Ctrl + Alt + 2Ctrl + Alt + 3Ctrl + Alt + 4...数字越小就越透明链接: https://pan.baidu.com/s/1xqGzEtL...

yarn 命令大全

yarn start //运行项目 yarn add xxxx //下载添加某个组件 持续更新。。。

beego validation无效、失效 golang tag标签的一个坑

来看看结构体这样 自己用table键吧tag标签搞得整整齐齐的type People struct { Key string `json:"key" form:"key&q...

centos安装brook教程

1.安装Namicurl https://raw.githubusercontent.com/txthinking/nami/master/install.sh | bash && sleep 6 &&...

golang github死锁挑战二

https://github.com/GoesToEleven/GolangTraining/blob/master/22_go-routines/10_deadlock-challenges/03_deadlock-challeng...

golang github死锁挑战一

https://github.com/GoesToEleven/GolangTraining/tree/master/22_go-routines/10_deadlock-challengespackage main import ...

golang websocket并发

WsConn *websocket.Conn 并发不安全 不能同时写panic: concurrent write to websocket connectionpackage cws import ( "...

golang base64保存文件

golang: /** * @description: base64 文件保存 * @param 路径,文件名,内容 * @return: */ func Base64ToFile(path, fileName, base64...