Go Storm storm是一个使用BoltDB的上层orm框架 https://juejin.cn/post/7031361355856740389 数据查看工具: https://github.com/br0xen/boltbrowser 驱动: https://github.com/asdine/storm 下载boltbrowser go install github.com/br0xen/boltbrowser@latest 使用lib go get github.com/asdine/storm 一、基本使用 初
slog 结构化日志 参考链接:https://betterstack.com/community/guides/logging/logging-in
Shamir密钥分享算法 参考:https://www.cxyzjd.com/article/shangsongwww/90266455 秘密共
Go 汉字转拼音库 汉语拼音转换工具 Go 版。 1、安装 go get -u github.com/mozillazg/go-pinyin 安装cli工具 go get -u github.com/mozillazg/go-pinyin/cmd/pinyin $ pinyin 中国人 zhōng guó rén 2、简单使用 package main import ( "fmt" "github.com/mozillazg/go-pinyin" ) func main() { hans
os/exec 系统内执行命令 1、查找命令所在的路径 func findCommandPath(str string) (string, error) { path, err := exec.LookPath(str) if err != nil { return "", err } return path, nil } 2、CombinedOutput组合输出,标准正确错误输
Gorm 官网:https://gorm.io/ 特性: 全功能 ORM 关联 (Has One,Has Many,Belongs To,Many To Many,多态,单表继承)