DISCOVERED IN HACKER NEWS

Go enum example

Go enum example:从 Hacker News 推荐讨论中自动发现的产品。

开发工具
访问产品网站
1推荐信号
1讨论来源
2023-10-10最近提及

为什么 HN 用户提到它?

自动整理的讨论摘录,保留原始英文。阅读原文了解完整语境。

@nikolayasdf123
for enums I prefer just direct structs: https://github.com/nikolaydubina/go-enum-example https://github.com/nikolaydubina/go-enum-example
阅读完整讨论