go-nil-map

Community

Map nil safety: read safe, write guarded.

AuthorJamesPrial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing to a nil map panics; reading from a nil map is safe but returns zero values.

Core Features & Use Cases

  • Initialization: Create maps with make before writes.
  • Defensive Pattern: Check nil before writes and provide safe defaults.

Quick Start

Initialize a map with make before insertions and verify read paths.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: go-nil-map
Download link: https://github.com/JamesPrial/claudefiles/archive/main.zip#go-nil-map

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.