diff --git a/2024/02/go_service.md b/2024/02/go_service.md new file mode 100644 index 0000000..69927f0 --- /dev/null +++ b/2024/02/go_service.md @@ -0,0 +1,7 @@ +# Starter-kit for writing services in Go using Kubernetes. + +> [Repo](https://github.com/ardanlabs/service) + +配置文件只能在 main.go 里初始化 + +可以用配置文件控制 CPU Core 调度资源 diff --git a/2024/02/leetgo.md b/2024/02/leetgo.md new file mode 100644 index 0000000..1ed2d66 --- /dev/null +++ b/2024/02/leetgo.md @@ -0,0 +1,16 @@ +# LeetGo 项目阅读 + +> [Repo](https://github.com/j178/leetgo) + +## 命令行解析 + +- [cobra](https://github.com/spf13/cobra) + +## 配置读取 + +- [viper](https://github.com/spf13/viper) + +## TUI + +- [bubbles](https://github.com/charmbracelet/bubbles) +- [survey](https://github.com/AlecAivazis/survey) diff --git a/README.md b/README.md index 03b45b6..b6fd458 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ - [列表 - 韩立的修炼](/) - **2024-02** + - [RC-使用 Kubernetes 编写 Go Serivce](/2024/02/go_service.md) + - [RC-如何在终端里实现刷 LeetCode](/2024/02/leetgo.md) - [nvim、warp、laygit](/2024/02/nvim_warp_lazygit.md) - [检测网站的 HTTP 版本](/2024/02/website_http_version.md) - [OPA 和 JWT 使用](/2024/02/opa_jwt_example.md)