gorm给默认表名加前缀和后缀
gorm.DefaultTableNameHanlder = func(db *gorm.DB,de… 继续阅读 gorm给默认表名加前缀和后缀
gorm.DefaultTableNameHanlder = func(db *gorm.DB,de… 继续阅读 gorm给默认表名加前缀和后缀
type User struct{ Id int Name string } // 自定义表名 fu… 继续阅读 gorm自定义表名
int转成string: string := strconv.Itoa(int) int64转成st… 继续阅读 golang strconv字符串和int互转
get: https://github.com/apache/maven-mvnd https://… 继续阅读 apache mvnd 打包工程
“token”: “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ… 继续阅读 jwt token结构
timeoutHour := 24 expirationTime := time.Now().Add… 继续阅读 golang time duration usage
src := “hello world” // 标准Base64编码 res1 := base64.… 继续阅读 golang base64 EncodeToString DecodeString
stream { allow 114.114.114.114; deny all; proxy_ti… 继续阅读 nginx stream tcp代理 增加白名单
设置allow、deny参数,也可作用于TCP和UDP代理: allow 114.114.114.1… 继续阅读 NGINX白名单配置
ssl socket: import ssl, socket hostname = ‘www.bai… 继续阅读 python get https ssl cert
netstat -ano |findstr “8080” taskkill /T /F /PID 1… 继续阅读 windows netstat get port pid 查看 端口占用
### mrdoc-nginx docker run -d –name mrdoc -p 1008… 继续阅读 docker run mrdoc 觅思文档
package common import ( “fmt” “github.com/garyburd… 继续阅读 github.com/garyburd/redigo/redis usage
slmgr /ipk 74YFP-3QFB3-KQT8W-PMXWJ-7M648 slmgr /sk… 继续阅读 windows server 2008 r2 sp1 key
import “encoding/base64” var str = “123456asdfgh” … 继续阅读 golang base64 编码解码
yarn remove node-sass npm install node-sass@4.0.0
在终端执行 npm run lint:js — –fix 命令 进行代码格式处理,然后重新启动项… 继续阅读 error Expected linebreaks to be ‘LF’ but found ‘CRLF’ linebreak-style
yarn add node-sass yarn install
.\Install-Containerd.ps1 -ContainerDVersion 1.5.9 … 继续阅读 windows server 2019 安装 kubernetes node
https://github.com/coreybutler/nvm-windows/release… 继续阅读 nvm-windows node版本管理