StackExchange / wmi

WMI for Go
http://godoc.org/github.com/StackExchange/wmi
MIT License
433 stars 173 forks source link

Modified "CreateQuery" #24

Closed ghost closed 3 years ago

ghost commented 7 years ago

Added anonymous struct support for "CreateQuery". It now accepts a optional variadic "class" parameter. So you can pass the wmi class name when your struct is anonymous and has no name or your struct is not named like the wmi class.

tlimoncelli commented 3 years ago

Sadly the original creators of this module are no longer with Stack Overflow, but I feel that the change looks low-risk and is safe to merge.