excel2json

command module
v0.0.0-...-2a4075a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 9 Imported by: 0

README

go语言版的excel2json

go语言的高性能,而且支持跨平台

go语言版本的excel2json,可以把excel表转换成json文件

使用方法:

安装
go  get github.com/welcome112s/excel2json

在命令行中使用,输入

excel2json -help

运行结果,可查询运行参数

  -e string
        Required. 输入的Excel文件路径
  -h int
        表格中有几行是表头. (default 3)
  -j string
        指定输出的json文件路径
  -k int
        key值在第几行 (default 1)
  -s string
        excel表的页签名称 (default "data")

如果需要转一个excel表比如 item.xlxs 表

excel2json -e item.xlxs -j item.json
eg: go build  

./excel2json -e ./testnew.xlsx -j ./item.json -s 手机检索表

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL