On 3/26/20 4:29 PM, Amnon Baron Cohen wrote:
An interesting approach.

Slightly surprised you did not use "encodeing/json" to parse the json input,
which would have been much easier.
Thank you for your advice, I have removed 3rd dependencies, and it is indeed much easier

On Thursday, 26 March 2020 00:05:01 UTC, sanye wrote:

    Hello gophers,

    I found an interesting project:
    https://github.com/mholt/json-to-go
    <https://github.com/mholt/json-to-go> ,
    which translate given json data into golang struct definition,
    it's very
    useful when dealing with complex json

    It's written in javascript, but maybe a golang version is useful when
    doing some works like code generation, so I ported it to golang:
    https://github.com/kumakichi/json-to-go
    <https://github.com/kumakichi/json-to-go>

    Any feedback are appreciated.

    sanye

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com <mailto:golang-nuts+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/d8b41228-2b54-41f6-bfc5-9adef9e46722%40googlegroups.com <https://groups.google.com/d/msgid/golang-nuts/d8b41228-2b54-41f6-bfc5-9adef9e46722%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/edd0c81c-2947-35c3-210b-c4b0f324fe0d%40gmail.com.

Reply via email to