/head.png

gin~路由

普通路由 1 2 3 r.GET("/index", func(c *gin.Context) {...}) r.GET("/login", func(c *gin.Context) {...}) r.POST("/login", func(c *gin.Context) {...}) 上面列出的,是普通路由,是最常用的。 Any 是比较特殊的路由,Any,只要输入匹配的路径,不管是什么方法,G

在 Go http包的Server中,每一个请求在都有一个对应的 goroutine 去处理。请求处理函数通常会启动额外的 goroutine 用来访问后端服务,比如数据库和RPC服务。

[[Go语言的前世今生]] [[Go的设计哲学]] [[Go VS Python]] [[Go程序是怎么样的]] [[Go module初步]] [[Go module 详细]] [[第一个go程序]] [[var]] [[const]]

视频B站地址 kubeadm安装相对简单,步骤基本封装起来了。 也有用ansible安装或者是自己脚本安装的。 二进制安装,性能较好。 kubead

报错1:文件存在 error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR FileAvailable–etc-kubernetes-manifests-kube-apiserver.yaml]: /etc/kubernetes/manifests/kube-apiserver.yaml already exist 这个报错是因为重复安装引起,执行重置命令即可。 1 kubeadm reset 报错2:container not running [ERROR CRI]: container runtime is not running:

gin~示例及restfulAPI

✏️ 观看李文周博客及七米视频作的笔记,这是看的我自己notion笔记又把代码敲了一遍。 Gin框架简介 Go世界里最流行的Web框架,Githu