您可以使用Go“固定”内存中的对象吗?

I have a Go object whose address in memory I would like to keep constant. in C# one can pin an object's location in memory. Is there a way to do this in Go?

An object on which you keep a reference won't move. There is no handle or indirection, and the address you get is permanent.

From the documentation :

Note that, unlike in C, it's perfectly OK to return the address of a local variable; the storage associated with the variable survives after the function returns

When you set a variable, you can read this address using the & operator, and you can pass it.