Re: [go-nuts] Parsing a CSV column with partially double-quotes in it

2017-09-29 Thread Lantos István
Ian Davis! Thank you, this is worked! 2017-09-29 9:29 GMT+02:00 Ian Davis : > Try setting r.LazyQuotes=true > > > On Thu, 28 Sep 2017, at 09:56 PM, Lantos István wrote: > > > I want to parse the following CSV structure. The column separators are > tabs: > &

Re: [go-nuts] Re: Loading assets with gomobile bind in a webview app

2017-08-29 Thread Lantos István
e: %v\n", err) } defer a.Close() b, err := ioutil.ReadAll(a) if err != nil { fmt.Fprintf(w, "could not execute: %v\n", err) } fmt.Fprintf(w, "File contents: %s\n", b) } 2017-08-29 19:21 GMT+02:00 Egon : > AFAIR asset.Open doesn't support folders. > > >

[go-nuts] Loading assets with gomobile bind in a webview app

2017-08-29 Thread Lantos István
I created a gomobile app with the bind command. The `Main.java` app embedding the go webserver into webview. I placed my css file in `./src/main/assets/css/main.css` location. I referencing in the template file with: But it's not showing up. The background should be red. I discovered `asset.

[go-nuts] Separating your templates into layouts, partials in the views folders

2017-05-21 Thread Lantos István
I'm trying to build a basic MVC with Go and I try to copy a familier folder structure that I used under Express/Koa in Node.js. I have the following folder structure under the `*./views*` folder: *│ index.html│├───layouts│ main.html│└───partials footer.htmlheader.h