·go-control-flow
</>

go-control-flow

cxuu/golang-skills

Effective Go의 Go 제어 흐름 관용구입니다. 초기화가 있는 경우, 조기 반환을 위한 else 생략, 루프 형식, 범위, 대체 없는 스위치, 유형 스위치 및 빈 식별자 패턴을 다룹니다. Go에서 조건문, 루프 또는 스위치 문을 작성할 때 사용합니다.

23설치·4트렌드·@cxuu

설치

$npx skills add https://github.com/cxuu/golang-skills --skill go-control-flow

SKILL.md

Source: Effective Go. Go's control structures are related to C but differ in important ways. Understanding these differences is essential for writing idiomatic Go code.

Go has no do or while loop—only a generalized for. There are no parentheses around conditions, and bodies must always be brace-delimited.

Go's if requires braces and has no parentheses around the condition:

Effective Go의 Go 제어 흐름 관용구입니다. 초기화가 있는 경우, 조기 반환을 위한 else 생략, 루프 형식, 범위, 대체 없는 스위치, 유형 스위치 및 빈 식별자 패턴을 다룹니다. Go에서 조건문, 루프 또는 스위치 문을 작성할 때 사용합니다. 출처: cxuu/golang-skills.

원본 보기

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/cxuu/golang-skills --skill go-control-flow
카테고리
</>개발 도구
인증됨
최초 등록
2026-02-01
업데이트
2026-02-18

빠른 답변

go-control-flow이란?

Effective Go의 Go 제어 흐름 관용구입니다. 초기화가 있는 경우, 조기 반환을 위한 else 생략, 루프 형식, 범위, 대체 없는 스위치, 유형 스위치 및 빈 식별자 패턴을 다룹니다. Go에서 조건문, 루프 또는 스위치 문을 작성할 때 사용합니다. 출처: cxuu/golang-skills.

go-control-flow 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/cxuu/golang-skills --skill go-control-flow 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다

소스 저장소는 어디인가요?

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

상세

카테고리
</>개발 도구
출처
skills.sh
최초 등록
2026-02-01