Closed rw3iss closed 3 years ago
try go run .
in the examples/counter
directory.
Ah, worked! Many thanks!!
Thx @sandro. I got here because of same error. I was just following the Readme directions with go 1.16 on RasPi -- I'm curious why those instructions are wrong? Thx!
@timcolson I think the instructions were written for an older version of Go which allowed running a single file that declared a main
function with other main
functions in the same directory.
Thx again @sandro. Based on history, Readme instructions were added in Jan 2020 when go v1.13 was current, not v1.16 today.
Looks like #130 pull request would have fixed the Readme back in Nov 2020.
@zserge -- I appreciate the work on the library; please consider this small tweak to the Readme to help others get started.
I'm on Ubuntu 20.10: Linux G14 5.10.4-051004-generic #202012301142 SMP Wed Dec 30 11:44:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Any ideas?