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

SPI usage example #36

Merged
merged 2 commits into from
Nov 29, 2018
Merged

SPI usage example #36

merged 2 commits into from
Nov 29, 2018

Conversation

stianeikeland
Copy link
Owner

@Drahoslav7, I added a quick SPI usage example, does it look OK? (don't have a pi available here atm)

Copy link
Collaborator

@drahoslove drahoslove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except the import issue it looks great, thank you.

package main

import (
"../.."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not buildable with go build due to error local import "../.." in non-local package. Using go build spi.go works tho'.

@stianeikeland stianeikeland merged commit 23a42ca into master Nov 29, 2018
@stianeikeland stianeikeland deleted the spi-example branch November 29, 2018 16:29
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

Successfully merging this pull request may close these issues.

None yet

2 participants