This is a Golang interface for Microsoft Flight Simulator 2020 (MSFS2020 ) using SimConnect.
$ go get github.com/grumpypixel/msfs2020-simconnect-go
Yes, it does. This package was created to power the msfs2020-gopilot.
Please note that this interface is not complete, but a lot of the SimConnect functionality has been implemented.
Check out the official SimConnect API Reference.
Apart from that, there's no other documenation at the moment. Since this is still work in progress the code is your friend.
So go ahead and have a look at the file defs.go which is, more or less, the transfused code from SimConnect.h.
At the time of writing, there are two simple examples available.
Example #1 shows the basic SimConnect interface. With this approach, you will need to manage all simulation variables, requests etc. yourself. This is most likely what you want.
Example #2 shows how to use the SimMate, a convenience class where the management of SimVars is handled for you. This encapsulation works for the GoPilot above mentioned, but it may not work for you. Just build your own - which is awesome because this package might get inspired by your creation and improvements.
Because I didn't want to call it Something Something Manager, that's why.
Yes. Way too often. But names do matter. And sometimes a stupid name is better than no name at all.
Nonetheless.
Cheers and Happy coding!