Re: [go-nuts] How to query mysql hexadecimal data

2019-09-04 Thread afriyie . abraham
Hi hex.EncodeString works! The problem was the struct field types ([]byte) instead of string. Thanks! On Wednesday, September 4, 2019 at 4:49:46 PM UTC+3, burak serdar wrote: > > On Wed, Sep 4, 2019 at 6:41 AM > > wrote: > > > > > > I have tried to query mysql database table data but am

Re: [go-nuts] How to query mysql hexadecimal data

2019-09-04 Thread burak serdar
On Wed, Sep 4, 2019 at 6:41 AM wrote: > > > I have tried to query mysql database table data but am getting the byte data > after trying many instances to convert the byte data to the hexadecimal > values. Any help about how can i get the hexadecimal values from the database. > > I created the

[go-nuts] How to query mysql hexadecimal data

2019-09-04 Thread abraham . afriyie
I have tried to query mysql database table data but am getting the byte data after trying many instances to convert the byte data to the hexadecimal values. Any help about how can i get the hexadecimal values from the database. I created the table below as CREATE TABLE