Change import path to "go.bug.st/serial.v1"
This is needed when there are breaking changes in the API.
This commit is contained in:
@@ -8,7 +8,7 @@ package serial_test
|
||||
|
||||
import "fmt"
|
||||
import "log"
|
||||
import "go.bug.st/serial"
|
||||
import "go.bug.st/serial.v1"
|
||||
|
||||
func ExampleSerialPort_SetMode() {
|
||||
port, err := serial.Open("/dev/ttyACM0", &serial.Mode{})
|
||||
|
||||
Reference in New Issue
Block a user