Skip to content

liz3/goify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Goify

Tranforms JSON(Javascript) objects to Go structs.

Usage

node index.js [...flags] file

Note: The root object cannot be a array.

Flags

  • -std/--stdin - take input from stdin rather then the last arg as a file.
  • -t/--tabs - use tabs rather then spaces
  • -s/--spaces <number> - set the amount of spaces
  • -p/--private - make the entries go private(lower case)

License

this is free software under GPL 2.0

About

Transform JSON Objects to go structs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published