Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

avoid []uint8 #3

Closed
csyangchen opened this issue Jun 13, 2016 · 1 comment
Closed

avoid []uint8 #3

csyangchen opened this issue Jun 13, 2016 · 1 comment

Comments

@csyangchen
Copy link

csyangchen commented Jun 13, 2016

as mentioned in http://stackoverflow.com/questions/14177862/how-to-jsonize-a-uint8-slice-in-go,
[]uint8 fields are json encoded into string.

Maybe replace []uint8 with []int, or, to make things simpler, just replace all uint* with int?

mxmCherry added a commit that referenced this issue Jun 13, 2016
@mxmCherry
Copy link
Owner

Changed all uint8 types to int8.

You may now import "gopkg.in/mxmCherry/openrtb.v1" (https://github.com/mxmCherry/openrtb/releases/tag/v1.0.0).

Thanks for reporting!

P.S.: https://github.com/bsm/openrtb has lots of ints and tests :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants