Skip to content

pdk/go2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go2json

parse .go files, output JSON

This code is fairly hacky. Not the result of indepth study and consideration. It's more a glob of code that sort of seems to work for the cases that I'm dealing with.

The idea is to make something a little easier to deal with to write generators based on existing code. Mostly to be able to get info about defined structs to use a template to generate database CRUD code.

The go2json.json file found here is the result of running this program on itself.

About

parse .go files, output JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages