【文件属性】:
文件名称:cvfv:用于将FixedLength文件转换为VariableLength文件的CLI工具
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-19 01:59:11
Go
cvfv
用于将FixedLength文件转换为VariableLength文件的CLI工具
安装
使用go get:
go get -u github.com/hal0920/cvfv
cd $GOPATH /src/github.com/hal0920/cvfv
go install
使用时,请将以下内容添加到PATH:
export PATH= $PATH : $GOPATH /bin
环境
要使用它,请创建以下设置文件。
Unix: ~/.config/cvfv/settings.toml
写以下内容:
[ layout ]
[ layout . example1 ]
length =[ 1 , 2 , 3 , 4 ]
[ layout . example2 ]
length =[ 4 , 3 , 2 , 1 ]
长度说明是字符数。 它不是字节数。
用法
NAME:
【文件预览】:
cvfv-master
----go.mod(172B)
----main.go(750B)
----testdata()
--------test_ok.dat(11B)
--------.config()
----go.sum(1KB)
----config_test.go(871B)
----LICENSE(1KB)
----README.md(1KB)
----Makefile(435B)
----action.go(1KB)
----action_test.go(2KB)
----helpers_test.go(468B)
----config.go(515B)