| name | go-programming |
| description | Write idiomatic Go code following Go conventions and best practices. Structure code using proper package organization with clear imports. Define structs with appropriate field types and tags. Implement methods with proper receiver types (value vs pointer). Create and implement interfaces for abstraction. Handle errors explicitly using Go's error interface, returning errors as the last return value. Use proper naming conventions (exported vs unexported identifiers). Implement proper memory management and avoid common pitfalls like nil pointer dereferences. Use Go's built-in types effectively (slices, maps, channels) and leverage goroutines and channels for concurrent programming when appropriate. Include proper documentation comments and follow gofmt formatting standards. |
| version | 0.1.0 |
| origin | derived |
| source_task | a0acee19 |
| x-content-hash | 2bc523d519f9fef5d87215bb08760c702f525bf2c897f3517d1db52b4e2073f3 |
| x-ipfs-cid | bafkreibyc5v5aiqshncw6kdaflcejenrhea2fzddteyojti2s5263x4ctu |
| created_at | 2026-03-26T07:04:08Z |
| updated_at | 2026-03-30T16:36:40+08:00 |
go-programming
Write idiomatic Go code following Go conventions and best practices. Structure code using proper package organization with clear imports. Define structs with appropriate field types and tags. Implement methods with proper receiver types (value vs pointer). Create and implement interfaces for abstraction. Handle errors explicitly using Go's error interface, returning errors as the last return value. Use proper naming conventions (exported vs unexported identifiers). Implement proper memory management and avoid common pitfalls like nil pointer dereferences. Use Go's built-in types effectively (slices, maps, channels) and leverage goroutines and channels for concurrent programming when appropriate. Include proper documentation comments and follow gofmt formatting standards.
Change History
Captured from task: Task specifically required Go code implementation but agent lacks Go language skills