·go-data-structures
{}

go-data-structures

cxuu/golang-skills

Go 数据结构,包括使用 new 与 make 进行分配、数组、切片、映射、使用 fmt 进行打印以及使用 iota 进行常量。在使用 Go 的内置数据结构、内存分配或格式化输出时使用。

25安装·3热度·@cxuu

安装

$npx skills add https://github.com/cxuu/golang-skills --skill go-data-structures

SKILL.md

This skill covers Go's built-in data structures and allocation primitives.

Go has two allocation primitives: new and make. They do different things.

new(T) allocates zeroed storage for a new item of type T and returns T:

Go 数据结构,包括使用 new 与 make 进行分配、数组、切片、映射、使用 fmt 进行打印以及使用 iota 进行常量。在使用 Go 的内置数据结构、内存分配或格式化输出时使用。 来源:cxuu/golang-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/cxuu/golang-skills --skill go-data-structures
分类
{}数据分析
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 go-data-structures?

Go 数据结构,包括使用 new 与 make 进行分配、数组、切片、映射、使用 fmt 进行打印以及使用 iota 进行常量。在使用 Go 的内置数据结构、内存分配或格式化输出时使用。 来源:cxuu/golang-skills。

如何安装 go-data-structures?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/cxuu/golang-skills --skill go-data-structures 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/cxuu/golang-skills

详情

分类
{}数据分析
来源
skills.sh
收录时间
2026-02-01