Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How to call a golang function using struct with fields of type string and map from C++ #40901
What version of Go are you using (
We don't use the issue tracker for questions. You will get better and faster answers using a forum. See https://golang.org/wiki/Questions. Thanks.
There is basically no way to create a Go string in C++, and there is definitely no way to create Go map value in C++, so there isn't going to be any reasonable way for you to call a Go function with that struct from C++.