go-error-handling
✓Google 및 Uber 스타일 가이드의 포괄적인 Go 오류 처리 패턴입니다. 오류 반환, %w로 래핑, 센티널 오류, 오류 유형 선택, 오류 한 번 처리, 오류 흐름 구조 및 로깅을 다룹니다. 오류를 생성, 반환, 래핑 또는 처리하는 Go 코드를 작성할 때 사용합니다.
SKILL.md
In Go, errors are values - they are created by code and consumed by code. This skill covers how to return, structure, wrap, and handle errors effectively.
Use error to signal that a function can fail. By convention, error is the last result parameter.
Never return concrete error types from exported functions - a concrete nil pointer can become a non-nil interface value:
Google 및 Uber 스타일 가이드의 포괄적인 Go 오류 처리 패턴입니다. 오류 반환, %w로 래핑, 센티널 오류, 오류 유형 선택, 오류 한 번 처리, 오류 흐름 구조 및 로깅을 다룹니다. 오류를 생성, 반환, 래핑 또는 처리하는 Go 코드를 작성할 때 사용합니다. 출처: cxuu/golang-skills.
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/cxuu/golang-skills --skill go-error-handling- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
go-error-handling이란?
Google 및 Uber 스타일 가이드의 포괄적인 Go 오류 처리 패턴입니다. 오류 반환, %w로 래핑, 센티널 오류, 오류 유형 선택, 오류 한 번 처리, 오류 흐름 구조 및 로깅을 다룹니다. 오류를 생성, 반환, 래핑 또는 처리하는 Go 코드를 작성할 때 사용합니다. 출처: cxuu/golang-skills.
go-error-handling 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/cxuu/golang-skills --skill go-error-handling 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/cxuu/golang-skills
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-01