I want to customize encoding format of a struct but got error: json: error calling MarshalJSON for type main.Info: invalid character 'o' in literal false (expecting 'a') What's wrong with my code?I want to customize encoding format of a struct
I want to customize encoding format of a struct but got error: json: error calling MarshalJSON for type main.Info: invalid character 'o' in literal false (expecting 'a') What's wrong with my code?I want to customize encoding format of a struct