[go-nuts] gopherjs files, writing, loading

2017-08-04 Thread snmed
Hi "me" I don't know gopherjs well, but as far as I know, they only provide an api to the html 5 feature localStorage and sessionStorage, see https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage so you can't write directly to the filesystem with js via a browser. Cheers snmed

[go-nuts] gopherjs files, writing, loading

2017-07-28 Thread forum
Since javascript in a browser is a local jail of sorts, what is the best way to save local files, write to them, load them? What even happens if you use go input/output and write to a file? I see that there are localStorage api bindings for gopherjs, so that project must have figured a way to s