Build a high-performance file system indexer and search tool in Go. Implement recursive directory traversal with configurable depth. Add file metadata extraction including size, dates, and permission…
용도:이 내용은 Go로 고성능 파일 시스템 인덱서와 검색 CLI를 만드는 방법을 다루며, 재귀 탐색부터 메타데이터 추출, 검색까지의 흐름을 제시한다. 할 수 있는 것
깊이를 설정할 수 있는 재귀 디렉터리 탐색을 구현해 인덱스 범위를 제어한다.
파일 크기, 생성·수정 날짜, 권한 같은 메타데이터를 추출한다.
파일 이름이나 메타데이터 조건으로 인덱스 결과를 검색하는 명령을 제공한다.
Go로 CLI를 작성하고 일반적인 디렉터리 규모에서 인덱싱과 검색 응답성을 유지한다.
적용 상황:Go 문법과 표준 라이브러리에 익숙하고 로컬이나 서버에서 파일을 빠르게 찾으려는 개발자에게 적합하다. 사내 검색 도구를 만들거나 인덱스 설계를 익힐 때 쓴다.
English
What it's for: This prompt asks you to build a high-performance file system indexer and search CLI in Go, covering recursive directory traversal and file metadata extraction, as a hands-on build spec.
What you can do
Implement recursive directory traversal with the depth treated as a configurable setting.
Extract file metadata covering size, dates, and permissions for each entry.
Assemble traversal and metadata results into a searchable index behind a CLI entry point.
Aim at high performance, since both the indexer and the search tool are framed that way.
Who it's for: Go developers who can already write and run programs locally and want a concrete exercise in directory walking, metadata reading, and index design.
Learn prompt engineering with our free, interactive guide — 29+ chapters covering everything from basics to advanced techniques like chain-of-thought reasoning, few-shot learning, and AI agents.