05 2024 档案

摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 golang 项目 的代码要怎么组织?怎么放比较简洁易读?看下面这个 项目 就晓得了。 project-layout https://git 阅读全文
posted @ 2024-05-24 22:22 快乐的欧阳天美1114 阅读(89) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 开发了一个 golang 程序:基于 Gin web 框架 的 服务,部署到了 ECS 的 容器(docker) 上,端口 40000 也暴露成功 阅读全文
posted @ 2024-05-23 17:17 快乐的欧阳天美1114 阅读(48) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 怎么获取磁盘空间信息呢?总量、剩余等。包括,Windows、Linux主机等。 使用标准库(os、fs、syscall 等)可以吗?可以,网 阅读全文
posted @ 2024-05-23 14:14 快乐的欧阳天美1114 阅读(519) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux vs code 1.89.1 序章 在 vs code 开发 go程序,之前总是在 终端(terminal)输入命令(go run .)来执行。 阅读全文
posted @ 2024-05-22 15:15 快乐的欧阳天美1114 阅读(694) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 在 测试 标准库 sort 包的 Example (SortWrapper) 时,遇到了看不懂的代码,查询 Specification 才知 阅读全文
posted @ 2024-05-21 21:21 快乐的欧阳天美1114 阅读(75) 评论(0) 推荐(0) 编辑
摘要:四大范式 文章: 科学研究范式与科学研究方法 - 是实的文章 - 知乎https://zhuanlan.zhihu.com/p/636048410 发布于 2023-06-10 09:41 科学研究范式:The scientific research paradigm。 本文列举了 四种范式: 第一 阅读全文
posted @ 2024-05-21 18:18 快乐的欧阳天美1114 阅读(122) 评论(0) 推荐(0) 编辑
摘要:Windows 11 git version 2.32.0.windows.2 GitHub 20240520 -- 今天找回了自己的 GitHub 账号密码,继续玩吧,再次加入 蓝星的开源软件基地。 使用邮箱注册的,找回密码也很方便。 本文简要展示 按照官方文档的介绍 使用 SSH 连接 GitH 阅读全文
posted @ 2024-05-20 22:22 快乐的欧阳天美1114 阅读(26) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 本文介绍 golang 程序 占用内存的监控: 使用 std runtime 的 ReadMemStats 函数。 ReadMemStats 阅读全文
posted @ 2024-05-17 21:21 快乐的欧阳天美1114 阅读(839) 评论(0) 推荐(0) 编辑
摘要:序章 对比IT世界的各种第一。 从电脑,到数据中心,到云计算,到智算中心,到…… 从巨大到微小…… 1946年,第一台电脑 世界上第一台 通用计算机 “ ENIAC ”于1946年2月14日在美国 宾夕法尼亚大学 诞生。 发明人是美国人莫克利(JohnW.Mauchly)和艾克特(J.Presper 阅读全文
posted @ 2024-05-16 06:06 快乐的欧阳天美1114 阅读(40) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 读取文件内容,写入新文件(可能存在、也可能不存在)。 相关标准库 io fs os path filepath Show Code func 阅读全文
posted @ 2024-05-15 22:22 快乐的欧阳天美1114 阅读(17) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 多个 给 map 写入数据。 1、基本的map:make(map[any]any) 失败。 2、sync.Map 成功。 测试场景: 1K 阅读全文
posted @ 2024-05-14 06:06 快乐的欧阳天美1114 阅读(40) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 package time https://pkg.go.dev/time Package time provides functionali 阅读全文
posted @ 2024-05-13 22:22 快乐的欧阳天美1114 阅读(214) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 VS code 1.89.0 序章 建立一个 web项目,使用 gin web 框架。 Tutorial: Developing a RESTful API with Go and Ginhttps://go.dev/doc/tut 阅读全文
posted @ 2024-05-09 12:12 快乐的欧阳天美1114 阅读(303) 评论(0) 推荐(0) 编辑
摘要:HTTP The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. bing.com 阅读全文
posted @ 2024-05-07 06:06 快乐的欧阳天美1114 阅读(19) 评论(0) 推荐(0) 编辑
摘要:go1.22.2 -- 序章 golang 官网的 代码汇总,汇总到一起,方便查阅。 注,如有侵权,请通知我 处理🥂。 go.dev 首页 同 https://golang.google.cn 首页。 说明,go.dev 访问时,可能存在访问失败的情况。 搜索:Try Go package mai 阅读全文
posted @ 2024-05-04 10:10 快乐的欧阳天美1114 阅读(23) 评论(0) 推荐(0) 编辑
摘要:vs code 1.88.1(2024-04-10) gitea-1.20-gogit-windows-4.0-amd64 Windows 11 序章 本文演示 自己用的 Visual Studio code 1.88.1 中: 新建分支 合并分支 两个操作。 说明,本文仅展示了 在自己的开发环境, 阅读全文
posted @ 2024-05-03 12:12 快乐的欧阳天美1114 阅读(3517) 评论(0) 推荐(0) 编辑
摘要:go version go1.22.1 windows/amd64 Windows 11 + amd64 x86_64 x86_64 GNU/Linux 序章 golang 支持 跨平台,支持的方式 是 在一个平台 编译其它平台的可执行程序。 本文 介绍 Windows 11(开发主机) 上 编译 阅读全文
posted @ 2024-05-02 21:21 快乐的欧阳天美1114 阅读(160) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示