-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dht package is broken #696
Comments
Hello @Gnyblast I think the issue must be with the auto-complete in your editor, since the See https://github.com/tinygo-org/drivers/blob/release/smoketest.sh#L101 and https://github.com/tinygo-org/drivers/actions/runs/9563791661/job/26363092847#step:8:378 Perhaps you need to open an issue in https://github.com/tinygo-org/vscode-tinygo? |
Yeah since addition of go tags to top |
Yeah problem was vscode-tinygo configs from the looks of it. Thanks. |
Sorry to coming back to this again but let me explain. I'm writing a program for especially for Raspberry pi (not pico) models. And I'm not using tinygo because it's obviosuly running an OS not a microcontroller. I just wanted to take advantage of your |
Since release v0.20.0 when
device.go
introduced to the package, the methods are gone for dht package like:dht.New()
. dht package now only exposesdevice.go
constants and types which just 3 items, as you can see in the image below.v0.19.0 seem to not having this issue though.
I don't think I'm doing some miss-implementation because your example is also using that way which is not exist anymore.
I see when I compare this
dht
package tagged with//go:build tinygo
any reason doing that? Gopls now does not support it.The text was updated successfully, but these errors were encountered: