Applies a Clean Architecture folder structure when creating a new Go project or reorganizing an existing project's structure.
아래는 이 프로젝트에서 사용하는 clean architecture 레이아웃입니다. 새 Go 프로젝트를 생성할 때 이 구조를 따르세요.
!tree project-layout/go-clean-arch-v2 -I vendor -L 3
cmd/main.go)domain/errors.go)domain/mocks/에 위치{도메인명}/ (예: article/, author/)handler.go: HTTP 핸들러 (Echo 라우팅)usecase.go: 비즈니스 로직 구현repository.go: 데이터 접근 구현*_test.go: 각 파일의 테스트pkg/config/: Viper 기반 설정 관리database/: DB 연결 설정middleware/: CORS, 인증 등 공통 미들웨어cmd/ → {도메인}/ → domain/
↓
pkg/
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer