Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages