Commit 7e103051 authored by Kevin Seidel's avatar Kevin Seidel
Browse files

Fix imports and add Travis CI

parent 01c3daa3
package darwin
import (
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
"github.com/raff/goble/xpc"
)
......
......@@ -3,7 +3,7 @@ package darwin
import (
"fmt"
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
"github.com/raff/goble/xpc"
)
......
......@@ -4,7 +4,7 @@ import (
"context"
"sync"
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
"github.com/raff/goble/xpc"
)
......
......@@ -8,12 +8,11 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/pkg/errors"
"github.com/raff/goble/xpc"
"sync"
"github.com/currantlabs/ble"
)
const (
......
package darwin
import (
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
"github.com/raff/goble/xpc"
)
......
package darwin
import "github.com/currantlabs/ble"
import "github.com/go-ble/ble"
func uuidSlice(uu []ble.UUID) [][]byte {
us := [][]byte{}
......
......@@ -7,10 +7,9 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
)
var (
......
......@@ -8,10 +8,9 @@ import (
"strings"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
)
var (
......
......@@ -7,10 +7,9 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
)
var (
......
......@@ -7,11 +7,10 @@ import (
"log"
"time"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/pkg/errors"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib"
"github.com/currantlabs/ble/examples/lib/dev"
)
var (
......
......@@ -3,7 +3,7 @@ package main
import (
"fmt"
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
)
func advHandler(a ble.Advertisement) {
......
......@@ -3,7 +3,7 @@ package main
import (
"fmt"
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
)
func explore(cln ble.Client, p *ble.Profile) error {
......
......@@ -3,7 +3,7 @@ package main
import (
"strings"
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
"github.com/urfave/cli"
)
......
package main
import (
"github.com/currantlabs/ble/linux"
"github.com/currantlabs/ble/linux/hci"
"github.com/currantlabs/ble/linux/hci/cmd"
"github.com/go-ble/ble/linux"
"github.com/go-ble/ble/linux/hci"
"github.com/go-ble/ble/linux/hci/cmd"
"github.com/pkg/errors"
)
......
......@@ -9,13 +9,12 @@ import (
"strings"
"syscall"
"github.com/go-ble/ble"
"github.com/go-ble/ble/examples/lib"
"github.com/go-ble/ble/examples/lib/dev"
"github.com/go-ble/ble/linux"
"github.com/pkg/errors"
"github.com/urfave/cli"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib"
"github.com/currantlabs/ble/examples/lib/dev"
"github.com/currantlabs/ble/linux"
)
var curr struct {
......
......@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
"github.com/pkg/errors"
"github.com/urfave/cli"
)
......
package lib
import "github.com/currantlabs/ble"
import "github.com/go-ble/ble"
// NewBatteryService ...
func NewBatteryService() *ble.Service {
......
......@@ -5,7 +5,7 @@ import (
"log"
"time"
"github.com/currantlabs/ble"
"github.com/go-ble/ble"
)
// NewCountChar ...
......
package dev
import (
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/darwin"
"github.com/go-ble/ble"
"github.com/go-ble/ble/darwin"
)
// DefaultDevice ...
......
package dev
import (
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/linux"
"github.com/go-ble/ble"
"github.com/go-ble/ble/linux"
)
// DefaultDevice ...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment