golang-patterns
Patrones idiomáticos de Go, buenas prácticas y convenciones para construir aplicaciones Go robustas, eficientes y mantenibles.
Original · translation is not supported for this source languageTarget: Target not categorized. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original text
Topics in the source
- Patrones de Desarrollo Go
- Cuándo Activar
- Principios Fundamentales
- 1. Simplicidad y Claridad
- 2. Hacer que el Valor Cero Sea Útil
- 3. Aceptar Interfaces, Retornar Structs
- Patrones de Manejo de Errores
- Wrapping de Errores con Contexto
Patrones idiomáticos de Go y buenas prácticas para construir aplicaciones robustas, eficientes y mantenibles. Escribir nuevo código Go Revisar código Go Refactorizar código Go existente Diseñar paquetes/módulos Go Go favorece la simplicidad sobre la astucia. El código debe ser obvio y fácil de leer. Diseñar tipos para que su valor cero sea inmediatamente usable sin inicialización. Las funciones deben aceptar parámetros de interfaz y retornar tipos concretos. | Modismo | Descripción | |-------|-------------| | Aceptar interfaces, retornar structs | Las funciones aceptan parámetros de interfaz, retornan tipos concretos | | Los errores son valores | Tratar errores como valores de primera clase, no como excepciones | | No comunicarse compartiendo memoria | Usar canales para coordinación entre goroutines | | Hacer que el valor cero sea útil | Los tipos deben funcionar sin inicialización explícita | | Un poco de copia es mejor que una pequeña dependencia | Evitar dependencias externas innecesarias | | Claro es mejor que inteligente | Priorizar legibilidad sobre astucia | | gofmt no es favorito de nadie pero sí amigo de todos | Siempre formatear con gofmt/goimports | | Retornar temprano |
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- affaan-m/ECC
- Source file
- docs/es/skills/golang-patterns/SKILL.md
- Fixed revision
- d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:48.759Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.