pkg-lo

Community

Comprehensive Go utilities to simplify functional programming.

Authorep0ll
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides an exhaustive reference for functional utilities in Go, enabling developers to replace verbose loops with expressive, concise, type-safe transformations.

Core Features & Use Cases

  • Slice operations like Map, Filter, Reduce, and Flatten facilitate transformations on data collections.
  • Map operations such as Keys, Values, Invert, and Assign help manipulate and restructure maps.
  • Grouping and partitioning enable organized data processing through GroupBy, Partition, and Associate functions.
  • Error handling helpers like Must, Try, and TryCatch streamline error management in initialization and risky functions.
  • Pointer helpers provide convenient conversion between values and pointers for optional data handling.
  • Set operations enable intersecting, union, and differencing of slices for set logic.
  • Ternary and Coalesce simplify conditional logic and default value handling.
  • Use simple natural-language commands to quickly understand or activate functionalities in the context of developing Go applications.

Quick Start

Use the go utility functions to perform a map operation on a slice of users to get their names.

Dependency Matrix

Required Modules

samber/lo

Components

scripts

💻 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: pkg-lo
Download link: https://github.com/ep0ll/bons-ci/archive/main.zip#pkg-lo

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 471,000+ vetted skills library on demand.