Gopherjs implementation for Atom/Electron. Desktop apps by golang.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scripts
spec
.drone.yml
.gitignore
.travis.yml
README.md
app.go
browserWindow.go
electron.go
emitter.go
package.json
webContents.go

README.md

gopherjs-electron

Greenkeeper badge Atom/Electron (https://github.com/atom/electron/) desktop apps with Go. Package use https://github.com/gopherjs/gopherjs.

Build Status

Install

Package require electron-prebuilt npm-module

npm install -g electron-prebuilt

go get github.com/arvitaly/gopherjs-electron

Usage

Look source-code and tests)) //TODO

Test

For tests used Jasmine (http://jasmine.github.io/) and adapter fo go https://github.com/arvitaly/gopherjs-jasmine

go get github.com/arvitaly/gopherjs-jasmine
npm install electron-prebuilt -g
npm install
npm test

Docker

Also you can use docker-image for electron (includes NodeJS, Golang, gopherjs, electron-prebuilt). Example for run app in docker-container in file .drone.yml (config for drone.io CI)

docker pull arvitaly/electron-go