L
L
LinuxGod2020-06-29 14:38:54
go
LinuxGod, 2020-06-29 14:38:54

Analogue of electron only on GO?

Good day, please tell me how to be:
I have a go application that works completely in the browser, of course there is a back to this application, html pages are rendered. Tell me how to create a desktop application only for GO, so that it is like an electron?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Pavlyuk, 2020-06-29
@LinuxGod

You can use the same Electron.
When launching an Electron application, launch the backend in the background, and open its local address in Electron.

D
Dmitry Belyaev, 2020-06-29
@bingo347

Electron is built on top of the CEF embedded in the node as a native addon.
In the render process, the node is connected via libnode.
All this communicates quite well through the sish abi , which cgo can work with .

F
falconandy, 2020-06-29
@falconandy

Have a look at
A tiny cross-platform webview library for C/C++/Go... It uses Cocoa/WebKit on macOS, gtk-webkit2 on Linux and Edge on Windows 10.
A very small library to build modern HTML5 desktop... It uses Chrome browser as a UI layer. Unlike Electron it doesn't bundle Chrome into the app package, but rather reuses the one that is already installed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question