Skip to content

Panda Home

苟利国家生死以,岂因祸福避趋之

  • 首页
  • RSS 订阅
  • 作坊
  • 关于

分类: Go

用 Cobra 写一个命令行工具

Posted on 2022-02-122023-08-08 by OldPanda
Photo by https://pixabay.com/photos/abacus-asian-culture-counting-frame-7019994/

Cobra 是一款非常流行的命令行生成工具,由 Go 语言实现,比如说著名的博客工具 Hugo , GitHu… Read more 用 Cobra 写一个命令行工具

AWS Lambda + API Gateway 搭建 Restful API 折腾记录

Posted on 2020-03-022020-12-20 by OldPanda
Photo by Ed Robertson on Unsplash

最近自己在家搞小玩具,有一个前后端交互的需求,毫无疑问应该用 Restful API 来进行通信。然而根据之前… Read more AWS Lambda + API Gateway 搭建 Restful API 折腾记录

Golang 的 “omitempty” 关键字略解

Posted on 2019-12-112023-08-10 by OldPanda
By Bjjung - Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=38817272

用法 熟悉 Golang 的朋友对于 json 和 struct 之间的转换一定不陌生,为了将代码中的结构体与… Read more Golang 的 “omitempty” 关键字略解

Skip to footer

最近发布

  • 用 VitePress 重写 Douban Book+ 主页
  • 《松弛感》读后感
  • 用 Vite + DaisyUI 快速搭建前端工程
  • 尼尔:自动人形
  • 开通 AdSense 一周后,这个博客赚了多少广告费?

分类

  • 聊聊技术
  • 聊聊旅行
  • 聊聊游戏
  • 随便聊聊

友情链接

  • wilbeibi
  • 乱码
  • Emin.ink
  • 浮云的博客
  • 编码妙♂妙♂屋
  • V2方圆
Proudly powered by WordPress | Theme: Panda Yocto by OldPanda.