随笔分类 -  Goland

Goland
摘要:Go —— gin 简单 MVC 地址 效果图 加载Html 注意需要绑定 define 或者 使用 gin 默认格式 Docker 文件编写 我这里使用的goctl 包生成的dockerfile ,https://go-zero.dev/cn/docs/goctl/goctl/ 这里生成的最小编译 阅读全文
posted @ 2022-10-31 16:07 Bo-Hong 阅读(264) 评论(0) 推荐(0) 编辑
摘要:客户端发送消息 并接收服务端消息 package main import ( "fmt" "net" ) func main() { // conn, err := net.Dial(`tcp`, ":8848") if err != nil { fmt.Println(`net dial err: 阅读全文
posted @ 2022-08-10 21:34 Bo-Hong 阅读(68) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
more_horiz
keyboard_arrow_up light_mode palette
选择主题