Go Time: Golang, Software Engineering cover image

Building desktop apps with Go + web tech

Go Time: Golang, Software Engineering

CHAPTER

Is There a Way to Communicate With JavaScript?

The IPC mechanism, the way that it works is that you essentially bind go functions or struct methods to your application. And they get presented at the front end through a JavaScript endpoint. So instead of having to worry about messages, requests, parameters, all that sort of stuff, you actually just call functions. It's interesting because we do think of go as a server with eight HTTP interfaces and things. But it doesn't end up being quite similar because you have this front end that's communicating somehow with the back end through some kind of procedure calls. The difference is that that mechanism for communication is completely hidden for me.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner