Skip to content

fsgo/econv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

econv

Encoding convert

Install

go install github.com/fsgo/econv@latest

Usage

# econv -help
Usage of econv:
  -i string
    	Input file path
  -f string
    	Encoding from.
    	allow: json, toml, yml, msgpack
  -t string
    	Encoding to.
    	allow: json, toml, yml, msgpack
  -timeout string
    	Timeout for HTTP Requests (default "10s")
econv -i passport.toml -t json                 # toml -> json
cat passport.toml | econv -f toml -t json      # toml -> json

Releases

No releases published

Packages

No packages published

Languages