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

2017-08-29 Thread Lantos István
I know I only use it load the one template file, this is why I don't use partials or a main layout. Able to reference external CSS, JS files would be quite useful. Is there any way to solve this? This seems like a very important feature which not yet implemented into gomobile. Here is a test file

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

2017-08-29 Thread Egon
AFAIR asset.Open doesn't support folders. On Tuesday, 29 August 2017 20:06:34 UTC+3, Lantos István wrote: > > 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 >