distatus / battery

cross-platform, normalized battery information library
MIT License
249 stars 36 forks source link

Adapted to Go 1.11 Modules #13

Closed uztbt closed 5 years ago

uztbt commented 5 years ago

Why did I make this PR?

When I compiled my program that is using this battery module, the following line was added to my module's go.mod.

howett.net/plist v0.0.0-20181124034731-591f970eefbb // indirect

It is due to the absence of go.mod, and I'd like the battery to manage its dependencies by itself.

uztbt commented 5 years ago

@KenjiTakahashi Thanks for merging! Could you make a new tag such as v0.9.1? I'm asking this beceuse Go programs that rely on this battery module still get v0.9.0, which does not have go.mod and go.sum.

KenjiTakahashi commented 5 years ago

Added new tag now. Sorry for the delay!