Ok thanks, I will try that but don't think it will be elegant for
turning on and off plain json in a code base, because I have to change
every json.Marshal and json.Umarshal
On Fri, Dec 27, 2019 at 10:21 AM Dan Kortschak wrote:
>
> MarshalText?
>
> On Fri, 2019-12-27 at 09:51 +0
Thanks, Which should I use instead then? The reason I use it is so I
can easily switch between regular json payloads for debugging and
encrypted/signed urlencode payloads
On Fri, Dec 27, 2019 at 9:39 AM Axel Wagner
wrote:
>
> `MarshalJSON` needs to output a valid JSON value, according to the inte
On Mon, Aug 7, 2017 at 12:03 PM, roger peppe wrote:
> ISTM that the only thing you're suggesting is to change
> the spelling of "reflect.ValueOf" to "reflect".
>
> I don't understand what semantics you'd expect
>
> fmt.Println("value:", r.Value(int))
>
> to have. What's the parameter to th
Valid argument thx
On Sun, Jul 23, 2017 at 7:23 PM, Rémy Oudompheng
wrote:
> With this proposal, can you tell whether the following function F
> returns one argument (a function) or two arguments (a function and an
> error) :
>
> func F() func(string) []byte, error {
>blah
> }
>
> Rémy.
>
> 2