Skip to content

Commit

Permalink
Move all code up a directory and refactor imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilemonn committed Feb 3, 2025
1 parent 9ae24d8 commit 545db6a
Show file tree
Hide file tree
Showing 36 changed files with 20 additions and 20 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"testing"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
)

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion flow/config/config.go → config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"os"

"github.com/Kilemonn/flow/flow/stdio"
"github.com/Kilemonn/flow/stdio"
"gopkg.in/yaml.v3"
)

Expand Down
4 changes: 2 additions & 2 deletions flow/config/config_file.go → config/config_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io"
"os"

"github.com/Kilemonn/flow/flow/bidetwriter"
"github.com/Kilemonn/flow/flow/file"
"github.com/Kilemonn/flow/bidetwriter"
"github.com/Kilemonn/flow/file"
)

type ConfigFile struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion flow/config/config_ipc.go → config/config_ipc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
import (
"io"

"github.com/Kilemonn/flow/flow/ipc"
"github.com/Kilemonn/flow/ipc"
)

type ConfigIPC struct {
Expand Down
2 changes: 1 addition & 1 deletion flow/config/config_port.go → config/config_port.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"slices"
"time"

"github.com/Kilemonn/flow/flow/serial"
"github.com/Kilemonn/flow/serial"
goSerial "go.bug.st/serial"
)

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion flow/config/config_socket.go → config/config_socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
import (
"io"

"github.com/Kilemonn/flow/flow/socket"
"github.com/Kilemonn/flow/socket"
)

type ConfigSocket struct {
Expand Down
2 changes: 1 addition & 1 deletion flow/config/config_test.go → config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
goSerial "go.bug.st/serial"
)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"os"

"github.com/Kilemonn/flow/flow/config"
"github.com/Kilemonn/flow/flow/serial"
"github.com/Kilemonn/flow/config"
"github.com/Kilemonn/flow/serial"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion flow/ipc/ipc-reader.go → ipc/ipc-reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"time"

"github.com/Kilemonn/flow/flow/queuedreader"
"github.com/Kilemonn/flow/queuedreader"
ipcClient "github.com/Kilemonn/go-ipc/client"
ipcServer "github.com/Kilemonn/go-ipc/server"
)
Expand Down
2 changes: 1 addition & 1 deletion flow/ipc/ipc-reader_test.go → ipc/ipc-reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion flow/serial/serial.go → serial/serial.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/Kilemonn/flow/flow/stdio"
"github.com/Kilemonn/flow/stdio"
goSerial "go.bug.st/serial"
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"slices"
"time"

"github.com/Kilemonn/flow/flow/queuedreader"
"github.com/Kilemonn/flow/queuedreader"
)

type TCPTimeoutReader struct {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"testing"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion flow/stdio/stdout_writer.go → stdio/stdout_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"os"

"github.com/Kilemonn/flow/flow/bidetwriter"
"github.com/Kilemonn/flow/bidetwriter"
)

func CreateStdOutWriter() (io.WriteCloser, error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"testing"

"github.com/Kilemonn/flow/flow/testutil"
"github.com/Kilemonn/flow/testutil"
"github.com/stretchr/testify/require"
)

Expand Down
File renamed without changes.

0 comments on commit 545db6a

Please sign in to comment.