mirror of https://github.com/shirou/gopsutil
Use static initialisation for invoke instances, instead of init funcs
The order of init function execution is dependant on the order that the source files are passed to the compiler. This causes issues when building under other build systems, such as bazel or buck, as they are not guarenteed to maintain the same file order as the default go tool.pull/502/head
parent
6b5767f15e
commit
413cb32b6c
Loading…
Reference in New Issue