Skip to content
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

examples/datalogger/main.go:53:2: undefined: registerInterruptHandler #8

Open
jbtalley98 opened this issue Jul 3, 2020 · 2 comments

Comments

@jbtalley98
Copy link

Admitted very green, but I don't see this function defined anywhere. Removing it (commenting out) fixes the issue.

@DCRichards
Copy link

@jbtalley98 you'll need to run go run ./... or go run . in the directory, rather than go run main.go, otherwise go won't parse the other files in the package. registerInterruptHandler is defined in signals.go.

@sworisbreathing
Copy link
Owner

Thanks for following up @DCRichards.

@jbtalley98 did that fix your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants