Skip to content

Commit 372f292

Browse files
committed
Revert "change package name"
This reverts commit 6746eca.
1 parent 374975c commit 372f292

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[![Build Status](https://github.com/bugst/go-serial/workflows/test/badge.svg)](https://github.com/bugst/go-serial/actions?workflow=test)
22

3-
# github.com/chrisdalke/go-serial
3+
# go.bug.st/serial
44

55
A cross-platform serial port library for Go.
66

77
## Documentation and examples
88

9-
See the package documentation here: https://pkg.go.dev/github.com/chrisdalke/go-serial
9+
See the package documentation here: https://pkg.go.dev/go.bug.st/serial
1010

1111
## go.mod transition
1212

13-
This library supports `go.mod` with the import `github.com/chrisdalke/go-serial`.
13+
This library supports `go.mod` with the import `go.bug.st/serial`.
1414

15-
If you came from the pre-`go.mod` era please update your import paths from `github.com/chrisdalke/go-serial.v1` to `github.com/chrisdalke/go-serial` to receive updates. The latest `v1` release is still available using the old import path.
15+
If you came from the pre-`go.mod` era please update your import paths from `go.bug.st/serial.v1` to `go.bug.st/serial` to receive updates. The latest `v1` release is still available using the old import path.
1616

1717
## Credits
1818

doc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
/*
88
Package serial is a cross-platform serial library for the go language.
99
10-
The canonical import for this library is github.com/chrisdalke/go-serial so the import line
10+
The canonical import for this library is go.bug.st/serial so the import line
1111
is the following:
1212
13-
import "github.com/chrisdalke/go-serial"
13+
import "go.bug.st/serial"
1414
1515
It is possible to get the list of available serial ports with the
1616
GetPortsList function:
@@ -84,7 +84,7 @@ cable or a microcontroller development board) is possible to retrieve
8484
the USB metadata, like VID/PID or USB Serial Number, with the
8585
GetDetailedPortsList function in the enumerator package:
8686
87-
import "github.com/chrisdalke/go-serial/enumerator"
87+
import "go.bug.st/serial/enumerator"
8888
8989
ports, err := enumerator.GetDetailedPortsList()
9090
if err != nil {

enumerator/example_getdetailedportlist_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"fmt"
1111
"log"
1212

13-
"github.com/chrisdalke/go-serial/enumerator"
13+
"go.bug.st/serial/enumerator"
1414
)
1515

1616
func ExampleGetDetailedPortsList() {

enumerator/usb_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"os"
1313
"path/filepath"
1414

15-
"github.com/chrisdalke/go-serial"
15+
"go.bug.st/serial"
1616
)
1717

1818
func nativeGetDetailedPortsList() ([]*PortDetails, error) {

example_getportlist_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"fmt"
1111
"log"
1212

13-
"github.com/chrisdalke/go-serial"
13+
"go.bug.st/serial"
1414
)
1515

1616
func ExampleGetPortsList() {

example_modem_bits_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"log"
1212
"time"
1313

14-
"github.com/chrisdalke/go-serial"
14+
"go.bug.st/serial"
1515
)
1616

1717
func ExamplePort_GetModemStatusBits() {

example_serialport_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"fmt"
1111
"log"
1212

13-
"github.com/chrisdalke/go-serial"
13+
"go.bug.st/serial"
1414
)
1515

1616
func ExamplePort_SetMode() {

example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"log"
1212
"strings"
1313

14-
"github.com/chrisdalke/go-serial"
14+
"go.bug.st/serial"
1515
)
1616

1717
// This example prints the list of serial ports and use the first one

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/chrisdalke/go-serial
1+
module go.bug.st/serial
22

33
go 1.17
44

portlist/portlist.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"fmt"
2020
"log"
2121

22-
"github.com/chrisdalke/go-serial/enumerator"
22+
"go.bug.st/serial/enumerator"
2323
)
2424

2525
func main() {

0 commit comments

Comments
 (0)