--- title: 学习周刊-总第186期-2024年第47周 date: 2024-11-21 21:18:09 permalink: /pages/6c583e/ categories: - 周刊 - 学习周刊 - 2024年 tags: - feed: enable: true description: 如要阅读全文,点击标题跳转。学习周刊-总第186期 | gojay | moon | APIPark | cast | icons --- ### 0 ,前言 周刊维护在:[https://github.com/eryajf/learning-weekly](https://github.com/eryajf/learning-weekly) 欢迎投稿,推荐或自荐项目 /文章 /博客,请提交 issue 。 周刊核心为运维周刊,还会侧重Go语言生态,Vue相关技术生态的项目,以及 GitHub 上优秀项目或经验。 你也可以在我的博客 [https://wiki.eryajf.net/learning-weekly/](https://wiki.eryajf.net/learning-weekly/) 查看汇总周刊。 🔥 有不少人想单独从博客通过 RSS 订阅周刊的更新,现在它来了,你可以使用这个[🔗 链接](https://wiki.eryajf.net/learning-weekly.xml)进行订阅。 ### 1,优秀项目 --- - 项目地址:[gojay](https://github.com/francoispqt/gojay) - 项目说明:又一个高性能的 Go 语言 json 解析库。 --- - 项目地址:[moon](https://github.com/aide-family/moon) - 项目说明:一个运维平台,能够对接指标管理告警规则,看计划也打算支持日志告警,持续关注。 ![](https://t.eryajf.net/imgs/2024/11/1731805698933.webp) --- - 项目地址:[APIPark](https://github.com/APIParkLab/APIPark/blob/main/readme/readme-zh-cn.md) - 项目说明:APIPark 是基于 Apache 2.0 协议开源的一站式 AI 网关和 API 开发者门户,帮助开发者和企业轻松管理、集成和部署 AI 和 REST 服务。 ![](https://t.eryajf.net/imgs/2024/11/1731229037610.webp) --- - 项目地址:[cast](https://github.com/spf13/cast) - 项目说明:go 语言类型转换库,你可以轻松将一个类型转换为另外一个类型。 ```go ## ToString cast.ToString("mayonegg") // "mayonegg" cast.ToString(8) // "8" cast.ToString(8.31) // "8.31" cast.ToString([]byte("one time")) // "one time" cast.ToString(nil) // "" var foo interface{} = "one more time" cast.ToString(foo) // "one more time" ## ToInt cast.ToInt(8) // 8 cast.ToInt(8.31) // 8 cast.ToInt("8") // 8 cast.ToInt(true) // 1 cast.ToInt(false) // 0 var eight interface{} = 8 cast.ToInt(eight) // 8 cast.ToInt(nil) // 0 ``` --- - 项目地址:[icons](https://github.com/pqoqubbw/icons) - 项目说明:这个项目把一些常用的前端 icon 动态化,感觉蛮有意思的。 ![](https://t.eryajf.net/imgs/2024/11/1731252731045.gif) --- ::: note 申明 **原创文章,未经授权,严禁转载,侵权必究!此乃文中随机水印,敬请读者谅解。** ::: right Copyright [二丫讲梵](https://wiki.eryajf.net) 版权所有 ::: ### 2,优秀文章 --- - [Gitea Actions 搭建](https://seepine.com/git/gitea/actions/) - 启动一个runner,其余的基本兼容 GitHub Actions,玩儿起来。 --- - [这几年我是如何运营开源项目](https://tailchat.msgbyte.com/zh-Hans/blog/share-1kstar) - 质量很高的原创内容,值得学习。 --- - [如何预防个人极端案事件](https://hyruo.com/article/how-to-prevent-personal-extremist-incidents/) - 如题,有很好的分析。 --- ### 3,优秀博客 --- - 博客地址:[Rosa](http://rosa.sdf.org/) - 简单说明:后生可畏,一边作诗一边写代码。最喜那句:当祭千秋累白骨,终成九载化仁心。 --- - 博客地址:[小菜菜的博客](https://www.xiaocaicai.com/) - 简单说明:技术笔记,偶尔文艺。 ---