上一页 1 2 3 4 5 6 7 ··· 18 下一页
摘要: SQL:BatchStarting: 是 SQL Server Profiler 中的一个事件,它指示一个新的 SQL 批处理正在开始执行。当 SQL Server 开始执行一个新的批处理时,它会生成此事件。批处理可以包含一个或多个 SQL 语句,它们将作为一个单独的单元执行。在 Profiler 阅读全文
posted @ 2023-12-26 17:32 看一百次夜空里的深蓝 阅读(444) 评论(0) 推荐(0) 编辑
摘要: CaptchaGitHub 地址: github.com/dchest/captcha简介: Captcha 是一个功能强大的验证码生成库,支持生成图片和音频验证码。它能够生成数字、字母、数字字母组合等各种类型的验证码,并且使用简单方便。 Gin-UtilsGitHub 地址: github.com 阅读全文
posted @ 2023-12-26 12:00 看一百次夜空里的深蓝 阅读(551) 评论(0) 推荐(0) 编辑
摘要: Swagger 是一组规范和工具,用于设计、构建、文档化和消费 RESTful 风格的 Web 服务。它旨在帮助开发者更轻松地设计和使用 API。 主要组成部分: OpenAPI 规范(以前称为 Swagger 规范): 定义了 API 的结构和功能,包括端点、参数、请求和响应格式等。使用 YAML 阅读全文
posted @ 2023-12-25 14:40 看一百次夜空里的深蓝 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 一、在 Docker 中安装 Python notebooks 并包括 OpenCV 1.1 创建Dockerfile 1 FROM jupyter/base-notebook 2 3 USER root 4 5 # 更新系统 6 RUN apt-get update 7 8 # 安装 OpenCV 阅读全文
posted @ 2023-12-25 14:27 看一百次夜空里的深蓝 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 在 Docker 中运行的免费版 SQL Server 和正式收费版 SQL Server 之间通常有以下差别: 功能限制 性能限制: 免费版 SQL Server 可能会有性能方面的限制,例如最大数据库大小、最大内存限制或并发连接数限制。这些限制可能对大型生产环境的数据库影响较大。 功能限制: 免 阅读全文
posted @ 2023-12-25 11:40 看一百次夜空里的深蓝 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 一.下载包 go get github.com/spf13/viper 二.源码 1 func LoadConf(fpname string) { 2 ini := viper.New() 3 ini.SetConfigFile(fpname) 4 5 ini.SetDefault("databas 阅读全文
posted @ 2023-12-16 14:19 看一百次夜空里的深蓝 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1 // 返回多数据集 2 func UserManySet() { 3 4 rows, err := DB.Raw(`select * from [user];select * from [user1];`).Rows() 5 if err == nil { 6 for { 7 var resul 阅读全文
posted @ 2023-12-15 18:26 看一百次夜空里的深蓝 阅读(294) 评论(1) 推荐(0) 编辑
摘要: 一. 初始化连接 1 package model 2 3 import ( 4 "fmt" 5 6 "gorm.io/driver/mysql" 7 "gorm.io/gorm" 8 ) 9 10 /*** 11 Navicat 数据库可视化工具: https://www.navicat.com/e 阅读全文
posted @ 2023-11-27 12:47 看一百次夜空里的深蓝 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 一. Cookie 1 func (con UserControl) Index(c *gin.Context) { 2 /*** 设置Cookie 3 func (c *Context) SetCookie(name, value string, maxAge int, path, domain 阅读全文
posted @ 2023-11-24 19:30 看一百次夜空里的深蓝 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 一.中间件 1 package main 2 3 import ( 4 "fmt" 5 "gin01/middlewares" 6 "text/template" 7 "time" 8 9 "github.com/gin-gonic/gin" 10 ) 11 12 /*** 13 中间件的注意事项: 阅读全文
posted @ 2023-11-24 11:28 看一百次夜空里的深蓝 阅读(92) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 18 下一页
点击右上角即可分享
微信分享提示