Skip to main content
Back to registry

go-data-structures

cxuu/golang-skills

Installs169
Install command
npx skills add https://github.com/cxuu/golang-skills --skill go-data-structures
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Source : Effective Go 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 : Zero-value design : Design data structures so the zero value is useful without further initialization. Examples: bytes.Buffer , sync.Mutex . make(T, args) creates slices, maps, and channels only. It returns an initialized (not zeroed) value of type T (not *T ): Rule : make applies only to maps, slices, and channels and does not return a pointer. Create and initialize structs, arrays, slices, and maps in one expression: Note : It's safe to return the address of a local variable in Go—the storage survives after the function returns. Arrays are values in Go (unlike C): Recommendation : Use slices instead of arrays in most cases. Slices wrap arrays to provide a flexible, powerful interface to sequences.

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does go-data-structures do?

go-data-structures is listed in SkillJury, but the source summary is still sparse.

Is go-data-structures good?

go-data-structures does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does go-data-structures work with?

go-data-structures currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, amp, github-copilot.

What are alternatives to go-data-structures?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install go-data-structures?

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

Related skills

More from cxuu/golang-skills

Related skills

Alternatives in Software Engineering