StackExchange / wmi

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

Wmi class names invalid for golint #52

Open Moe-Kite opened 4 years ago

Moe-Kite commented 4 years ago

Hi,

First, thanks a lot for this library, it's pretty useful to access easily data through wmi query.

We have one issue with some wmi class (Win32_Fan in our case, but basically most of class) as the class name is invalid for golint as it contains an underscore. That's a blocker as CreateQuery use the type name to build the query. This PR : https://github.com/StackExchange/wmi/pull/24 gives a solution to that, would it be possible to merge it?

Cheers, Moe