go-collection
go collection package for fasting coding
What XERJ indexed
Snapshot
Only docs, errorx, map_collection, slice_collcection, slice_collection, test/map_collection, utils at commit aa7432bf14 (2026-10-10). master is 9 commits ahead.
Selected work

“重构泛型集合 API 与切片集合行为”. 18 files, 848 lines in slice_collection, slice_collcection, test.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-25. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- Where does go-collection handle “重构泛型集合 API 与切片集合行为”?
- What does slice_collection do in go-collection?
Inside the indexed corpus
- 51 files, 212.4 KB in total, about 4.2 KB per file.
- The selected commit changed 18 of those files (35.3%).
- Languages by size: Go 98.9%, Makefile 0.6%, Shell 0.4%.
- On GitHub since 2025-02-25, last push 2026-10-21, 155 commits on master.
- The pin is 9 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for goxstdx/go-collection on 2026-10-31, and the LICENSE file at commit aa7432bf14 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
ZHOUXING1997 (@ZHOUXING1997) has 1 selected repository on the hub.
Using XERJ with go-collection
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones goxstdx/go-collection at the pinned commit and indexes it on your machine.
Search the GitHub repository goxstdx/go-collection with XERJ (https://hub.xerj.org/corpus/goxstdx--go-collection). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/goxstdx/go-collection go-collection && git -C go-collection checkout aa7432bf1410f13fbe74a2a9670ca91fc0a25753 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./go-collection --url http://127.0.0.1:9200 --prefix go-collection --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
ZHOUXING1997API design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.