Re: [go-nuts] serializing a value using Go syntax

2016-07-21 Thread Peter Waller
The closest thing I'm aware of is . Not sure if it solves your use case, but might get you some of the way there. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emai

[go-nuts] serializing a value using Go syntax

2016-07-21 Thread Manlio Perillo
Hi. In a project I need to generate some Go source files containing only variable definitions. These variables are generated by some tools written in Go. Currently I'm generating the variable definitions using the fmt package with the #v flag, but there are several problems: * The generated li