Modified "CreateQuery"

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.
1 file changed
tree: bd647bcae1eaea1aad4d2052309df36157582560
  1. LICENSE
  2. README.md
  3. wmi.go
  4. wmi_test.go
README.md

wmi

Package wmi provides a WQL interface for WMI on Windows.