diff --git a/adb/adb.go b/adb/adb.go index b5df80d..2112b92 100644 --- a/adb/adb.go +++ b/adb/adb.go @@ -3,8 +3,8 @@ package adb import ( "strconv" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) /* diff --git a/adb/adb_test.go b/adb/adb_test.go index 9b6fdeb..9e5082a 100644 --- a/adb/adb_test.go +++ b/adb/adb_test.go @@ -3,7 +3,7 @@ package adb import ( "testing" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/wire" "github.com/stretchr/testify/assert" ) diff --git a/adb/device.go b/adb/device.go index 7f4f746..ae68030 100644 --- a/adb/device.go +++ b/adb/device.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) // MtimeOfClose should be passed to OpenWrite to set the file modification time to the time the Close diff --git a/adb/device_info.go b/adb/device_info.go index 74b85dd..f5fccec 100644 --- a/adb/device_info.go +++ b/adb/device_info.go @@ -4,7 +4,7 @@ import ( "bufio" "strings" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) type DeviceInfo struct { diff --git a/adb/device_state.go b/adb/device_state.go index 3d713aa..2f3eb07 100644 --- a/adb/device_state.go +++ b/adb/device_state.go @@ -1,6 +1,6 @@ package adb -import "github.com/Evrins/goadb/internal/errors" +import "github.com/evrins/goadb/internal/errors" // DeviceState represents one of the 3 possible states adb will report devices. // A device can be communicated with when it's in StateOnline. diff --git a/adb/device_test.go b/adb/device_test.go index 544c17a..d6442f0 100644 --- a/adb/device_test.go +++ b/adb/device_test.go @@ -3,8 +3,8 @@ package adb import ( "testing" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" "github.com/stretchr/testify/assert" ) diff --git a/adb/device_watcher.go b/adb/device_watcher.go index 0e5a494..745d14d 100644 --- a/adb/device_watcher.go +++ b/adb/device_watcher.go @@ -8,8 +8,8 @@ import ( "sync/atomic" "time" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) /* diff --git a/adb/device_watcher_test.go b/adb/device_watcher_test.go index efcd93a..77000ec 100644 --- a/adb/device_watcher_test.go +++ b/adb/device_watcher_test.go @@ -3,8 +3,8 @@ package adb import ( "testing" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" "github.com/stretchr/testify/assert" ) diff --git a/adb/dialer.go b/adb/dialer.go index 6563b2d..fed5524 100644 --- a/adb/dialer.go +++ b/adb/dialer.go @@ -5,8 +5,8 @@ import ( "net" "runtime" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) // Dialer knows how to create connections to an adb server. diff --git a/adb/dir_entries.go b/adb/dir_entries.go index 5e10351..b4d6962 100644 --- a/adb/dir_entries.go +++ b/adb/dir_entries.go @@ -5,7 +5,7 @@ import ( "os" "time" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/wire" ) // DirEntry holds information about a directory entry on a device. diff --git a/adb/error.go b/adb/error.go index 94c2ddb..f42672c 100644 --- a/adb/error.go +++ b/adb/error.go @@ -1,6 +1,6 @@ package adb -import "github.com/Evrins/goadb/internal/errors" +import "github.com/evrins/goadb/internal/errors" type ErrCode errors.ErrCode diff --git a/adb/server.go b/adb/server.go index 48e2b76..b88d0fb 100644 --- a/adb/server.go +++ b/adb/server.go @@ -7,8 +7,8 @@ import ( "os/exec" "strings" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) const ( diff --git a/adb/server_mock_test.go b/adb/server_mock_test.go index 458f566..8512b24 100644 --- a/adb/server_mock_test.go +++ b/adb/server_mock_test.go @@ -4,8 +4,8 @@ import ( "io" "strings" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) // MockServer implements Server, Scanner, and Sender. diff --git a/adb/server_test.go b/adb/server_test.go index b1d4206..e27a55f 100644 --- a/adb/server_test.go +++ b/adb/server_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/wire" "github.com/stretchr/testify/assert" ) diff --git a/adb/sync_client.go b/adb/sync_client.go index 568c910..3ec0dda 100644 --- a/adb/sync_client.go +++ b/adb/sync_client.go @@ -5,8 +5,8 @@ import ( "os" "time" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) var zeroTime = time.Unix(0, 0).UTC() diff --git a/adb/sync_client_test.go b/adb/sync_client_test.go index 54b3b08..592db70 100644 --- a/adb/sync_client_test.go +++ b/adb/sync_client_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/adb/sync_file_reader.go b/adb/sync_file_reader.go index d275abc..f0d2a19 100644 --- a/adb/sync_file_reader.go +++ b/adb/sync_file_reader.go @@ -3,8 +3,8 @@ package adb import ( "io" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) // syncFileReader wraps a SyncConn that has requested to receive a file. diff --git a/adb/sync_file_reader_test.go b/adb/sync_file_reader_test.go index 747ed67..34d6bd0 100644 --- a/adb/sync_file_reader_test.go +++ b/adb/sync_file_reader_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/wire" "github.com/stretchr/testify/assert" ) diff --git a/adb/sync_file_writer.go b/adb/sync_file_writer.go index 6e50c42..855076d 100644 --- a/adb/sync_file_writer.go +++ b/adb/sync_file_writer.go @@ -6,8 +6,8 @@ import ( "os" "time" - "github.com/Evrins/goadb/internal/errors" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/internal/errors" + "github.com/evrins/goadb/wire" ) // syncFileWriter wraps a SyncConn that has requested to send a file. diff --git a/adb/sync_file_writer_test.go b/adb/sync_file_writer_test.go index ea1bce9..5d9edfc 100644 --- a/adb/sync_file_writer_test.go +++ b/adb/sync_file_writer_test.go @@ -8,7 +8,7 @@ import ( "encoding/binary" "strings" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/wire" "github.com/stretchr/testify/assert" ) diff --git a/adb/util.go b/adb/util.go index 0252b18..276cf73 100644 --- a/adb/util.go +++ b/adb/util.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) var ( diff --git a/cmd/adb/main.go b/cmd/adb/main.go index a0dd2a2..1e2c0f5 100644 --- a/cmd/adb/main.go +++ b/cmd/adb/main.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "github.com/Evrins/goadb/adb" + "github.com/evrins/goadb/adb" "io" "os" "path/filepath" diff --git a/cmd/demo/demo.go b/cmd/demo/demo.go index 2cd297e..22db73f 100644 --- a/cmd/demo/demo.go +++ b/cmd/demo/demo.go @@ -4,12 +4,12 @@ package main import ( "flag" "fmt" - "github.com/Evrins/goadb/adb" + "github.com/evrins/goadb/adb" "io/ioutil" "log" "time" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) var ( diff --git a/cmd/raw-adb/raw-adb.go b/cmd/raw-adb/raw-adb.go index c8094ee..2781f29 100644 --- a/cmd/raw-adb/raw-adb.go +++ b/cmd/raw-adb/raw-adb.go @@ -5,13 +5,13 @@ import ( "bufio" "flag" "fmt" - "github.com/Evrins/goadb/adb" + "github.com/evrins/goadb/adb" "io" "log" "os" "strings" - "github.com/Evrins/goadb/wire" + "github.com/evrins/goadb/wire" ) var port = flag.Int("p", adb.AdbPort, "`port` the adb server is listening on") diff --git a/go.mod b/go.mod index 56c1f0f..8da15c2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Evrins/goadb +module github.com/evrins/goadb go 1.14 diff --git a/wire/conn.go b/wire/conn.go index 85d3e92..3403d2f 100644 --- a/wire/conn.go +++ b/wire/conn.go @@ -1,6 +1,6 @@ package wire -import "github.com/Evrins/goadb/internal/errors" +import "github.com/evrins/goadb/internal/errors" const ( // The official implementation of adb imposes an undocumented 255-byte limit diff --git a/wire/scanner.go b/wire/scanner.go index 79ad876..2878e5a 100644 --- a/wire/scanner.go +++ b/wire/scanner.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "strconv" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) // TODO(zach): All EOF errors returned from networoking calls should use ConnectionResetError. diff --git a/wire/scanner_test.go b/wire/scanner_test.go index 5d0b552..8d9c8ef 100644 --- a/wire/scanner_test.go +++ b/wire/scanner_test.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "testing" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" "github.com/stretchr/testify/assert" ) diff --git a/wire/sender.go b/wire/sender.go index 2b2ff18..ff69131 100644 --- a/wire/sender.go +++ b/wire/sender.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) // Sender sends messages to the server. diff --git a/wire/sync_conn.go b/wire/sync_conn.go index 7968c14..c305dab 100644 --- a/wire/sync_conn.go +++ b/wire/sync_conn.go @@ -1,6 +1,6 @@ package wire -import "github.com/Evrins/goadb/internal/errors" +import "github.com/evrins/goadb/internal/errors" const ( // Chunks cannot be longer than 64k. diff --git a/wire/sync_scanner.go b/wire/sync_scanner.go index d14f25b..dfa3294 100644 --- a/wire/sync_scanner.go +++ b/wire/sync_scanner.go @@ -6,7 +6,7 @@ import ( "os" "time" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) type SyncScanner interface { diff --git a/wire/sync_sender.go b/wire/sync_sender.go index ae600ab..ac4bd53 100644 --- a/wire/sync_sender.go +++ b/wire/sync_sender.go @@ -6,7 +6,7 @@ import ( "os" "time" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) type SyncSender interface { diff --git a/wire/sync_test.go b/wire/sync_test.go index c82513f..0965b16 100644 --- a/wire/sync_test.go +++ b/wire/sync_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" "github.com/stretchr/testify/assert" ) diff --git a/wire/util.go b/wire/util.go index 95e4b7b..642d49d 100644 --- a/wire/util.go +++ b/wire/util.go @@ -6,7 +6,7 @@ import ( "regexp" "sync" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" ) // ErrorResponseDetails is an error message returned by the server for a particular request. diff --git a/wire/util_test.go b/wire/util_test.go index 6e4d9a1..3c63825 100644 --- a/wire/util_test.go +++ b/wire/util_test.go @@ -3,7 +3,7 @@ package wire import ( "testing" - "github.com/Evrins/goadb/internal/errors" + "github.com/evrins/goadb/internal/errors" "github.com/stretchr/testify/assert" )