Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

策划转表 #4

Open
gaowanlu opened this issue Aug 3, 2023 · 3 comments
Open

策划转表 #4

gaowanlu opened this issue Aug 3, 2023 · 3 comments

Comments

@gaowanlu
Copy link

gaowanlu commented Aug 3, 2023

关于策划转表方案是怎样的,excel转json,go读json吗。还是用excelize读excel。后者中间加一层转csv。这种读表能满足生产环境需要吗,会不会慢。只在C++接触过将配置表转csv再转二进制的,从程序中读定的二进制协议文件。

@phuhao00
Copy link
Owner

phuhao00 commented Sep 8, 2023

看情况,都可以的,我之前遇到过,excel转json,go读json,然后对json压缩的

@gaowanlu
Copy link
Author

gaowanlu commented Sep 8, 2023

也是,能用就行,封装好自己的工具库。我打工那边用得自己的一套DR工具,写xml生成go struct代码,excel转CSV 根据xml描述生成bin文件,程序代码再根据元数据 将bin读出来。刚毕业工作,在写C++,没事学点go基础,前来膜拜大佬。

@arcaneMage01
Copy link

推荐你去了解一个开源库,功能健全强大,支持几乎全部主流语言,Luban
可以支持对象模式配置,直接生成对应语言的一套读取方法和对象代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants