In order to get IDE support like autocomplete you have to add the tinygo src path to your GOPATH.
After adding the tinygo source path to the GOPATH go will know, where to look for the packages like
You can just append the path to your tinygo installation in your GOPATH.
There are already lot’s of drivers for common hardware. See this for more information.
go get tinygo.org/x/drivers