I am now reading byte array from go with C.CBytes in C# P/Invoke
C#
[DllImport("test.dll", CharSet = CharSet.Unicode, CallingConvention = Calling