diff --git a/README.md b/README.md index 862a3d1..edcc04b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Go Bluetooth](./images/gobluetooth.png)](https://tinygo.org/bluetooth) -[![PkgGoDev](https://pkg.go.dev/badge/pkg.go.dev/tinygo.org/x/bluetooth)](https://pkg.go.dev/tinygo.org/x/bluetooth) +[![PkgGoDev](https://pkg.go.dev/badge/pkg.go.dev/git.tcp.direct/kayos/prototooth)](https://pkg.go.dev/git.tcp.direct/kayos/prototooth) [![CircleCI](https://circleci.com/gh/tinygo-org/bluetooth/tree/dev.svg?style=svg)](https://circleci.com/gh/tinygo-org/bluetooth/tree/dev) Go Bluetooth is a cross-platform package for using [Bluetooth Low Energy](https://en.wikipedia.org/wiki/Bluetooth_Low_Energy) hardware from the Go programming language. @@ -23,7 +23,7 @@ This example shows a central that scans for peripheral devices and then displays package main import ( - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var adapter = bluetooth.DefaultAdapter @@ -59,7 +59,7 @@ package main import ( "time" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/adapter_windows.go b/adapter_windows.go index 685fa11..d854e32 100644 --- a/adapter_windows.go +++ b/adapter_windows.go @@ -2,7 +2,7 @@ package bluetooth import ( "github.com/go-ole/go-ole" - "tinygo.org/x/bluetooth/winbt" + "git.tcp.direct/kayos/prototooth/winbt" ) type Adapter struct { diff --git a/bluetooth.go b/bluetooth.go index 8fd53cb..172f5de 100644 --- a/bluetooth.go +++ b/bluetooth.go @@ -6,4 +6,4 @@ // // This package can be use to create Bluetooth Low Energy centrals as well as peripherals. // -package bluetooth // import "tinygo.org/x/bluetooth" +package bluetooth // import "git.tcp.direct/kayos/prototooth" diff --git a/examples/advertisement/main.go b/examples/advertisement/main.go index 56a5e8c..ca9265c 100644 --- a/examples/advertisement/main.go +++ b/examples/advertisement/main.go @@ -3,7 +3,7 @@ package main import ( "time" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/circuitplay/main.go b/examples/circuitplay/main.go index 234cb24..0ac6a4c 100644 --- a/examples/circuitplay/main.go +++ b/examples/circuitplay/main.go @@ -9,7 +9,7 @@ import ( "machine" "time" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" "tinygo.org/x/drivers/ws2812" ) diff --git a/examples/discover/main.go b/examples/discover/main.go index db8c1e8..d8a4996 100644 --- a/examples/discover/main.go +++ b/examples/discover/main.go @@ -19,7 +19,7 @@ package main import ( "strconv" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/heartrate-monitor/main.go b/examples/heartrate-monitor/main.go index 693f1df..be77b66 100644 --- a/examples/heartrate-monitor/main.go +++ b/examples/heartrate-monitor/main.go @@ -20,7 +20,7 @@ package main import ( - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var ( diff --git a/examples/heartrate/main.go b/examples/heartrate/main.go index 061e89f..759b7b9 100644 --- a/examples/heartrate/main.go +++ b/examples/heartrate/main.go @@ -4,7 +4,7 @@ import ( "math/rand" "time" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/ledcolor/main.go b/examples/ledcolor/main.go index 6bb4199..7bff621 100644 --- a/examples/ledcolor/main.go +++ b/examples/ledcolor/main.go @@ -4,7 +4,7 @@ import ( "machine" "time" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/nusclient/main.go b/examples/nusclient/main.go index e619b66..53f4d0a 100644 --- a/examples/nusclient/main.go +++ b/examples/nusclient/main.go @@ -4,8 +4,8 @@ package main // details. import ( - "tinygo.org/x/bluetooth" - "tinygo.org/x/bluetooth/rawterm" + "git.tcp.direct/kayos/prototooth" + "git.tcp.direct/kayos/prototooth/rawterm" ) var ( diff --git a/examples/nusserver/main.go b/examples/nusserver/main.go index 2c6f9f2..8d919c0 100644 --- a/examples/nusserver/main.go +++ b/examples/nusserver/main.go @@ -8,8 +8,8 @@ package main // Code to interact with a raw terminal is in separate files with build tags. import ( - "tinygo.org/x/bluetooth" - "tinygo.org/x/bluetooth/rawterm" + "git.tcp.direct/kayos/prototooth" + "git.tcp.direct/kayos/prototooth/rawterm" ) var ( diff --git a/examples/scanner/main.go b/examples/scanner/main.go index 11ef2ad..06ed479 100644 --- a/examples/scanner/main.go +++ b/examples/scanner/main.go @@ -1,7 +1,7 @@ package main import ( - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/gap_windows.go b/gap_windows.go index 61e65bd..6ebb18e 100644 --- a/gap_windows.go +++ b/gap_windows.go @@ -1,7 +1,7 @@ package bluetooth import ( - "tinygo.org/x/bluetooth/winbt" + "git.tcp.direct/kayos/prototooth/winbt" ) // Address contains a Bluetooth MAC address. diff --git a/tools/gen-characteristic-uuids/main.go b/tools/gen-characteristic-uuids/main.go index b8d3ef9..d45f37f 100644 --- a/tools/gen-characteristic-uuids/main.go +++ b/tools/gen-characteristic-uuids/main.go @@ -12,7 +12,7 @@ import ( "text/template" "time" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) type Characteristic struct { diff --git a/tools/gen-service-uuids/main.go b/tools/gen-service-uuids/main.go index aea751d..1c81382 100644 --- a/tools/gen-service-uuids/main.go +++ b/tools/gen-service-uuids/main.go @@ -12,7 +12,7 @@ import ( "text/template" "time" - "tinygo.org/x/bluetooth" + "git.tcp.direct/kayos/prototooth" ) type Service struct { diff --git a/winbt/winbt.go b/winbt/winbt.go index 70850e6..eabff40 100644 --- a/winbt/winbt.go +++ b/winbt/winbt.go @@ -14,7 +14,7 @@ // https://yizhang82.dev/what-is-winrt // https://www.slideshare.net/goldshtn/deep-dive-into-winrt // -package winbt // import "tinygo.org/x/bluetooth/winbt" +package winbt // import "git.tcp.direct/kayos/prototooth/winbt" import ( "github.com/go-ole/go-ole"