Reorganized repository

This commit is contained in:
Cristian Maglie
2014-12-14 16:07:10 +01:00
parent 4b5cc5816f
commit 8c49fe6332
6 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ include $(GOROOT)/src/Make.inc
TARG=github.com/bugst/go-serial/serial
GOFILES=serial.go native_$(GOOS).go native_z$(GOOS).go
GOFILES=serial.go native_$(GOOS).go syscall_$(GOOS).go
include $(GOROOT)/src/Make.pkg

View File

@@ -1,10 +1,10 @@
package main
package serial
import "bug.st/go-serial/serial"
import "go.bug.st/serial"
import "fmt"
import "log"
func main() {
func ExampleCommunication() {
ports, err := serial.GetPortsList()
if err != nil {
log.Fatal(err)