I did my code, thanks all who help me. Next task, It is necessary then json
string pulls out three parameters, counted and discharged into a CSV format
with the columns Date, Revenue, Gold.
package main
import (
"database/sql"
"log"
_"github.com/go-sql-driver/mysql"
"compress/zlib"
"os"
Thanks so much all who help me, I appreciate it!
Ok, for example:
first row achieve:
xÚ –Ûjã0 E ¥èÙ.:GWûWJ 2 e ¦} ù÷êb7Ú;
yñòÖ> )º˜×Ÿoï?^ÿ ÿü5«Q+a {²yUY>Í6[k&ónÖ‹9ŸÍ*b Œ¶çòX þ›Õ?/Ëu Éò¼äB~›õåRŸm{
êÛ_=˜Ì¶ü¼¹N—ÏW]x „Ym
2016. november 10., csütörtök 21:20:46 UTC+1 időpontban Sergio Hunter a
következőt írta:
>
> I can't because аccess to the database is only granted to me.
> If leave my code and only add code which would be skip text rows and
> continues to unpack the archive?
>
>
We haven't asked for access to
I can't because аccess to the database is only granted to me.
If leave my code and only add code which would be skip text rows and
continues to unpack the archive?
четверг, 10 ноября 2016 г., 19:34:33 UTC+2 пользователь pierre...@gmail.com
написал:
>
> Then you need to provide sample data...
>
Then you need to provide sample data...
Le jeudi 10 novembre 2016 18:33:10 UTC+1, Sergio Hunter a écrit :
>
> I agree with you) But what do i do with this, It's exactly the same error.
>
> четверг, 10 ноября 2016 г., 19:05:12 UTC+2 пользователь
> pierre...@gmail.com написал:
>>
>> We will get
I agree with you) But what do i do with this, It's exactly the same error.
четверг, 10 ноября 2016 г., 19:05:12 UTC+2 пользователь pierre...@gmail.com
написал:
>
> We will get there but is is hard hitting your target when shooting in the
> dark :).
>
> Remove white spaces:
>
Thanks for your help.
Do you know what it means?
2016/11/10 18:46:21 invalid character '\u0085' looking for beginning of
value
exit status 1
четверг, 10 ноября 2016 г., 18:32:40 UTC+2 пользователь pierre...@gmail.com
написал:
>
> Sorry, I did not test it. This one passes the playground build
Sorry, I did not test it. This one passes the playground build (up to the
mysql driver not being found):
https://play.golang.org/p/_WfTMOd-s6
Le jeudi 10 novembre 2016 17:13:19 UTC+1, Sergio Hunter a écrit :
>
> The compiler generates an error
>
> Test.go:71: undefined: o
> Test.go:85: cannot
Ok, then something along those lines:
https://play.golang.org/p/dMPQIrEdNN
Le jeudi 10 novembre 2016 16:36:21 UTC+1, Sergio Hunter a écrit :
>
> Thanks so much for your answer.
> I'll try to explain what I need. I have a field "data",inside field has
> compress rows and text data(json), I need
Thanks so much for your answer.
I'll try to explain what I need. I have a field "data",inside field has
compress rows and text data(json), I need decompress data, but my code
begins to unpack the file to text and compiler generates an error.
The logic is this: It reads "data" of the database,
Hello,
I am sorry I am not sure I understood what you wanted to achieve, however,
if you need to extract a json object from your sql rows, here is some code
that should do it:
https://play.golang.org/p/92oFkprZfs
HTH
Pierre
Le mercredi 9 novembre 2016 22:36:42 UTC+1, Sergio Hunter a écrit :
11 matches
Mail list logo