6
学习周刊-总第100期-2023年第13周
source link: https://wiki.eryajf.net/pages/6a3264/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
学习周刊-总第100期-2023年第13周
文章发布较早,内容可能过时,阅读注意甄别。
# 0 ,前言
周刊维护在:https://github.com/eryajf/learning-weekly (opens new window) 欢迎投稿,推荐或自荐项目 /文章 /博客,请提交 issue 。
周刊核心为运维周刊,还会侧重Go语言生态,Vue相关技术生态的项目,以及 GitHub 上优秀项目或经验。
你也可以在我的博客 https://wiki.eryajf.net/learning-weekly/ (opens new window) 查看汇总周刊。
# 1,优秀项目
- 项目地址:zincsearch (opens new window)
- 项目说明:一款对标 ElasticSearch 搜索的 go 语言版本,目前查询界面等还比较简陋。
- 相关文章:README (opens new window)
- 项目地址:ship (opens new window)
- 项目说明:一个灵活、强大、高性能和极简主义的 Go Web HTTP 路由器框架。看了下示例,感觉预发很清晰简洁,可以一式。
package main
import (
"github.com/xgfone/ship/v5"
"github.com/xgfone/ship/v5/middleware"
)
func main() {
router := ship.New()
router.Use(middleware.Logger(), middleware.Recover()) // Use the middlewares.
router.Route("/ping").GET(func(c *ship.Context) error {
return c.JSON(200, map[string]interface{}{"message": "pong"})
})
group := router.Group("/group")
group.Route("/ping").GET(func(c *ship.Context) error {
return c.Text(200, "group")
})
subgroup := group.Group("/subgroup")
subgroup.Route("/ping").GET(func(c *ship.Context) error {
return c.Text(200, "subgroup")
})
// Start the HTTP server.
ship.StartServer(":8080", router)
// or
// http.ListenAndServe(":8080", router)
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- 项目地址:MusicFree (opens new window)
- 项目说明:一个插件化、定制化、无广告的免费音乐播放器,目前只支持 Android 和 Harmony OS。
- 相关文章:README (opens new window)
# 2,优秀文章
# 3,优秀博客
- 博客地址:Verne in GitHub (opens new window)
- 简单说明:博客坚持时间真长,内容涉猎广泛
- 博客地址:陶小桃 北航在读硕士,Python爱好者 (opens new window)
- 简单说明:博客内容涉猎广泛,很优秀
- 博客地址:workspace (opens new window)
- 简单说明:这个站点记录了各种桌面,可以参考。
上次更新: 2023/03/31, 08:39:15
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK