domain: use custom domain for go.mod and examples

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2020-09-07 23:14:26 +02:00 committed by Ayke
parent 9647735fca
commit 97532eaed4
9 changed files with 12 additions and 11 deletions

View file

@ -13,7 +13,7 @@ This example scans for peripheral devices and then displays information about th
package main
import (
"github.com/tinygo-org/bluetooth"
"tinygo.org/x/bluetooth"
)
var adapter = bluetooth.DefaultAdapter

View file

@ -3,7 +3,7 @@ package main
import (
"time"
"github.com/tinygo-org/bluetooth"
"tinygo.org/x/bluetooth"
)
var adapter = bluetooth.DefaultAdapter

View file

@ -3,7 +3,7 @@ package main
import (
"os"
"github.com/tinygo-org/bluetooth"
"tinygo.org/x/bluetooth"
)
var adapter = bluetooth.DefaultAdapter

View file

@ -3,7 +3,7 @@ package main
import (
"time"
"github.com/tinygo-org/bluetooth"
"tinygo.org/x/bluetooth"
)
var adapter = bluetooth.DefaultAdapter

View file

@ -4,7 +4,7 @@ import (
"machine"
"time"
"github.com/tinygo-org/bluetooth"
"tinygo.org/x/bluetooth"
)
var adapter = bluetooth.DefaultAdapter

View file

@ -4,8 +4,8 @@ package main
// details.
import (
"github.com/tinygo-org/bluetooth"
"github.com/tinygo-org/bluetooth/rawterm"
"tinygo.org/x/bluetooth"
"tinygo.org/x/bluetooth/rawterm"
)
var (

View file

@ -8,8 +8,8 @@ package main
// Code to interact with a raw terminal is in separate files with build tags.
import (
"github.com/tinygo-org/bluetooth"
"github.com/tinygo-org/bluetooth/rawterm"
"tinygo.org/x/bluetooth"
"tinygo.org/x/bluetooth/rawterm"
)
var (

View file

@ -1,7 +1,7 @@
package main
import (
"github.com/tinygo-org/bluetooth"
"tinygo.org/x/bluetooth"
)
var adapter = bluetooth.DefaultAdapter

3
go.mod
View file

@ -1,4 +1,4 @@
module github.com/tinygo-org/bluetooth
module tinygo.org/x/bluetooth
go 1.14
@ -8,6 +8,7 @@ require (
github.com/godbus/dbus/v5 v5.0.3
github.com/muka/go-bluetooth v0.0.0-20200619025933-f6113f7141c5
github.com/sirupsen/logrus v1.6.0 // indirect
github.com/tinygo-org/bluetooth v0.0.0-20200801163934-de824e188486
golang.org/x/crypto v0.0.0-20200602180216-279210d13fed
golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6 // indirect
)