Closed T-6 closed 2 years ago
Can you please explain how you're building it?
When I run go get github.com/adelolmo/hd-idle
I get the mentioned error message.
If you only what to build the program, but not the debian package, you could follow this steps:
git clone https://github.com/adelolmo/hd-idle.git
cd hd-idle
go build
You should get the binary file hd-idle
.
Let me know if you have any problem with the above steps.
That worked perfectly. Thanks a lot!!! And thanks a lot for the port of hd-idle.
When trying to build from source on openSUSE I get the error message, that "go get" is depreciated since go version 1.17 and "go install" shall be used instead. When using go install, I need to provide credentials for github (which I have) and for the repository (which I do not have). Would be nice if the documentation could be updated on how to build from source with a go version of 1.17 and above.