Introducing go.mod for dep management

This commit is contained in:
Cristian Maglie
2019-12-02 19:51:36 +01:00
parent 24a6610f05
commit df95023074
39 changed files with 71 additions and 50 deletions

View File

@@ -8,7 +8,7 @@ package serial_test
import "fmt"
import "log"
import "go.bug.st/serial.v1"
import "go.bug.st/serial"
func ExampleSerialPort_SetMode() {
port, err := serial.Open("/dev/ttyACM0", &serial.Mode{})