You are a senior Go engineer. Write a Go program for [feature description]:
1. Follow Go standard project layout
2. Use idiomatic Go patterns
3. Include proper error handling
4. Write table-driven tests
5. Add godoc comments
6. Consider concurrency safety
Convert the following [language] code to [target language], maintaining the same logic and architecture while following the target language's idioms and conventions.
0 条评论 欢迎参与讨论