Skip to content

Commit

Permalink
gui: Move package to internal.
Browse files Browse the repository at this point in the history
dcrpool is an application and thus all of its package not intended for
external consumers should not be publicly visible.

To that end, this moves the gui package to an internal package meaning
that it is no longer a part of the exported main module.
  • Loading branch information
davecgh committed Sep 13, 2023
1 parent 26ee72b commit 6980a38
Show file tree
Hide file tree
Showing 91 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dcrpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"

"github.com/decred/dcrd/rpcclient/v8"
"github.com/decred/dcrpool/gui"
"github.com/decred/dcrpool/internal/gui"
"github.com/decred/dcrpool/pool"
)

Expand Down
2 changes: 1 addition & 1 deletion harness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ mkdir -p "${HARNESS_ROOT}/vwallet"
mkdir -p "${HARNESS_ROOT}/pool"
mkdir -p "${HARNESS_ROOT}/gui"

cp -r gui/assets ${GUI_DIR}/assets
cp -r internal/gui/assets ${GUI_DIR}/assets

for ((i = 0; i < $NUMBER_OF_CLIENTS; i++)); do
PROFILE_PORT=$(($i + 6061))
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 log.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/decred/slog"
"github.com/jrick/logrotate/rotator"

"github.com/decred/dcrpool/gui"
"github.com/decred/dcrpool/internal/gui"
"github.com/decred/dcrpool/pool"
)

Expand Down

0 comments on commit 6980a38

Please sign in to comment.