https://www.arp242.net/static-go.html Go creates static binaries by default unless you use cgo to call C code, in which case it will create a dynamically linked library. Turns out that using cgo is more common than many people assume as the os/user and net packages use cgo by default, so importing either (directly or indirectly) will result in a non-static binary. The easiest way to check if your program is statically compiled is to run file on it:
https://marianogappa.github.io/software/2020/04/01/webassembly-tinygo-cheesse/ This is the story of how I managed to expose my Golang chess API project cheesse as a WebAssembly binary, compiled using TinyGo, so JavaScript could use it without needing a server. What are all those technologies? WebAssembly
https://gocn.vip/topics/10234 grpc 先来简单介绍一下grpc。它是google推出来的一个RPC框架。grpc是通过IDL(Interface Definition Language)——接口定义语言——编译成不同语言的客户端来实现的。可以说是RPC理论的一个非常非常标准的实现。