From eae5a517c835f1b86fdd69ff38fc1f2655dd5c71 Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Wed, 31 Jul 2024 22:38:08 +0300 Subject: [PATCH] rename mod --- README.md | 6 +++--- bluetooth.go | 2 +- examples/advertisement/main.go | 2 +- examples/circuitplay/main.go | 2 +- examples/connparams/main.go | 2 +- examples/discover/main.go | 2 +- examples/heartrate-monitor/main.go | 2 +- examples/heartrate/main.go | 2 +- examples/ledcolor/main.go | 2 +- examples/nusclient/main.go | 4 ++-- examples/nusserver/main.go | 4 ++-- examples/scanner/main.go | 2 +- examples/stop-advertisement/main.go | 2 +- examples/tinyscan/main.go | 2 +- go.mod | 2 +- tools/gen-characteristic-uuids/main.go | 2 +- tools/gen-service-uuids/main.go | 2 +- 17 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index bfba0d2..1692bdc 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) [![Linux](https://github.com/tinygo-org/bluetooth/actions/workflows/linux.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/bluetooth/actions/workflows/linux.yml) [![macOS](https://github.com/tinygo-org/bluetooth/actions/workflows/macos.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/bluetooth/actions/workflows/macos.yml) +[![PkgGoDev](https://pkg.go.dev/badge/pkg.go.dev/gitrepo.ru/neonxp/bluetooth)](https://pkg.go.dev/gitrepo.ru/neonxp/bluetooth) [![Linux](https://github.com/tinygo-org/bluetooth/actions/workflows/linux.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/bluetooth/actions/workflows/linux.yml) [![macOS](https://github.com/tinygo-org/bluetooth/actions/workflows/macos.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/bluetooth/actions/workflows/macos.yml) 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. @@ -22,7 +22,7 @@ This example shows a central that scans for peripheral devices and then displays package main import ( - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter @@ -58,7 +58,7 @@ package main import ( "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/bluetooth.go b/bluetooth.go index 5a3bff5..a61b063 100644 --- a/bluetooth.go +++ b/bluetooth.go @@ -5,4 +5,4 @@ // those produced by Nordic Semiconductor. // // 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 "gitrepo.ru/neonxp/bluetooth" diff --git a/examples/advertisement/main.go b/examples/advertisement/main.go index 41a01fc..cdcddd8 100644 --- a/examples/advertisement/main.go +++ b/examples/advertisement/main.go @@ -3,7 +3,7 @@ package main import ( "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/circuitplay/main.go b/examples/circuitplay/main.go index a299fde..fe59b98 100644 --- a/examples/circuitplay/main.go +++ b/examples/circuitplay/main.go @@ -8,7 +8,7 @@ import ( "machine" "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" "tinygo.org/x/drivers/ws2812" ) diff --git a/examples/connparams/main.go b/examples/connparams/main.go index 762cbb9..7eac2d2 100644 --- a/examples/connparams/main.go +++ b/examples/connparams/main.go @@ -12,7 +12,7 @@ package main import ( "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var ( diff --git a/examples/discover/main.go b/examples/discover/main.go index 1b9be0e..30ac002 100644 --- a/examples/discover/main.go +++ b/examples/discover/main.go @@ -18,7 +18,7 @@ package main import ( "strconv" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/heartrate-monitor/main.go b/examples/heartrate-monitor/main.go index 210be9c..09d16fb 100644 --- a/examples/heartrate-monitor/main.go +++ b/examples/heartrate-monitor/main.go @@ -24,7 +24,7 @@ package main import ( - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var ( diff --git a/examples/heartrate/main.go b/examples/heartrate/main.go index 061e89f..5c0dc29 100644 --- a/examples/heartrate/main.go +++ b/examples/heartrate/main.go @@ -4,7 +4,7 @@ import ( "math/rand" "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/ledcolor/main.go b/examples/ledcolor/main.go index a35020e..0be1a26 100644 --- a/examples/ledcolor/main.go +++ b/examples/ledcolor/main.go @@ -4,7 +4,7 @@ import ( "machine" "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/nusclient/main.go b/examples/nusclient/main.go index e619b66..8c13a8c 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" + "gitrepo.ru/neonxp/bluetooth" + "gitrepo.ru/neonxp/bluetooth/rawterm" ) var ( diff --git a/examples/nusserver/main.go b/examples/nusserver/main.go index 2c6f9f2..f027cab 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" + "gitrepo.ru/neonxp/bluetooth" + "gitrepo.ru/neonxp/bluetooth/rawterm" ) var ( diff --git a/examples/scanner/main.go b/examples/scanner/main.go index 11ef2ad..297791d 100644 --- a/examples/scanner/main.go +++ b/examples/scanner/main.go @@ -1,7 +1,7 @@ package main import ( - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/stop-advertisement/main.go b/examples/stop-advertisement/main.go index d5c5a9b..e649599 100644 --- a/examples/stop-advertisement/main.go +++ b/examples/stop-advertisement/main.go @@ -7,7 +7,7 @@ package main import ( "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) var adapter = bluetooth.DefaultAdapter diff --git a/examples/tinyscan/main.go b/examples/tinyscan/main.go index ebc36dd..55ed0eb 100644 --- a/examples/tinyscan/main.go +++ b/examples/tinyscan/main.go @@ -5,7 +5,7 @@ import ( "image/color" "time" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" "tinygo.org/x/tinyterm" ) diff --git a/go.mod b/go.mod index 5df5aa4..362c03f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module tinygo.org/x/bluetooth +module gitrepo.ru/neonxp/bluetooth go 1.20 diff --git a/tools/gen-characteristic-uuids/main.go b/tools/gen-characteristic-uuids/main.go index 794e1fd..10d573f 100644 --- a/tools/gen-characteristic-uuids/main.go +++ b/tools/gen-characteristic-uuids/main.go @@ -16,7 +16,7 @@ import ( "golang.org/x/text/cases" "golang.org/x/text/language" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) type Characteristic struct { diff --git a/tools/gen-service-uuids/main.go b/tools/gen-service-uuids/main.go index cad8dcc..98ea350 100644 --- a/tools/gen-service-uuids/main.go +++ b/tools/gen-service-uuids/main.go @@ -16,7 +16,7 @@ import ( "golang.org/x/text/cases" "golang.org/x/text/language" - "tinygo.org/x/bluetooth" + "gitrepo.ru/neonxp/bluetooth" ) type Service struct {