Giter Site home page Giter Site logo

exceltool's Introduction

go语言导表工具
功能:
1、读取指定目录所有excel表
2、转换为json格式并产出json文件
3、产生对应的go语言代码方便使用

表格规则:
第一行决定了该列是否导出,包含s的会被导出
第二行为变量名,生成json会以此为key,生成代码也用的这个变量名
第三行为数据类型,基础类型包含"bool", "int", "int32", "int64", "float", "float32", "float64", "string",复合类型有数组、二维数组和map,具体格式参考Example.xlsx
第四行为备注,没有实际作用
第五行开始为具体数据

本仓库后期不维护,后续更新与应用参见https://github.com/baogejin/gs/tree/main/tools/excel_tool

exceltool's People

Contributors

baogejin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.