focus-creative-games / luban

luban是一个强大、易用、优雅、稳定的游戏配置解决方案。luban is a powerful, easy-to-use, elegant and stable game configuration solution.
https://code-philosophy.com/
MIT License
3.32k stars 526 forks source link

生成的golang代码,多主键索引有问题 #83

Closed czdj closed 10 months ago

czdj commented 10 months ago

image

pirunxi commented 10 months ago

这是预期中的。很多语言没有内置的多重索引的支持,如果我们自己引入一些支持,很难让大家都满意。所以除了c#之类的少数几种语言外,多重索引只会在导出数据时检查,生成的代码只包含列表,而未对其进行索引。