awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

Awesome GitHub RepositoriesStruct Mutations by Index

Modifying struct elements in a range loop by accessing them through their index, because the value variable is a copy.

Distinct from Range-Based Loop Iteration: Distinct from Range-Based Loop Iteration: focuses on mutation of structs via index, not general iteration.

Explore 1 awesome GitHub repository matching software engineering & architecture · Struct Mutations by Index. Refine with filters or upvote what's useful.

Awesome Struct Mutations by Index GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • teivah/100-go-mistakesteivah 的头像

    teivah/100-go-mistakes

    7,915在 GitHub 上查看↗

    100 Go Mistakes is a reference book and code review companion that catalogues frequent Go programming anti-patterns and provides corrected implementations for each one. It covers a wide range of common pitfalls, from range loop variable capture and interface nil handling to error wrapping and map iteration randomization, helping developers recognize and avoid these issues in their own code. The project distinguishes itself by offering a structured, example-driven approach to learning idiomatic Go. It covers core design decisions such as when to use pointer versus value receivers, how to apply

    Teaches correct struct mutation inside Go range loops.

    Gobookchinesedocumentation
    在 GitHub 上查看↗7,915
  1. Home
  2. Software Engineering & Architecture
  3. Compile-Time Code Generation
  4. Iterative Code Generation
  5. Iterative Loop Constructs
  6. Range-Based Loop Iteration
  7. Struct Mutations by Index