From 0a672dcff64e2762466e5e203ff55e68ca0b5c48 Mon Sep 17 00:00:00 2001 From: Victor Bersy Date: Sat, 23 Jul 2022 08:25:50 +0200 Subject: [PATCH] Turn module name into lowercase --- go.mod | 2 +- internal/data/repositories.go | 2 +- internal/ui/components/help/help.go | 4 ++-- internal/ui/components/help/styles.go | 2 +- .../ui/components/listviewport/listviewport.go | 4 ++-- internal/ui/components/listviewport/styles.go | 2 +- .../ui/components/repository/repository.go | 6 +++--- .../sidebar/repository/sidebar_repository.go | 4 ++-- internal/ui/components/sidebar/sidebar.go | 4 ++-- internal/ui/components/sidebar/styles.go | 2 +- internal/ui/components/table/styles.go | 2 +- internal/ui/components/table/table.go | 6 +++--- internal/ui/components/tabs/styles.go | 2 +- internal/ui/components/tabs/tabs.go | 2 +- internal/ui/components/view/explore/explore.go | 14 +++++++------- internal/ui/components/view/explore/styles.go | 2 +- .../ui/components/view/my_repos/my_repos.go | 14 +++++++------- internal/ui/components/view/my_repos/styles.go | 2 +- internal/ui/components/view/view.go | 8 ++++---- internal/ui/context/context.go | 2 +- internal/ui/model_utils.go | 4 ++-- internal/ui/ui_init.go | 2 +- internal/ui/ui_model.go | 18 +++++++++--------- internal/ui/ui_view.go | 8 ++++---- main.go | 2 +- 25 files changed, 60 insertions(+), 60 deletions(-) diff --git a/go.mod b/go.mod index f32d308..2efaa35 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/VictorBersy/docker-hub-cli +module github.com/victorbersy/docker-hub-cli go 1.18 diff --git a/internal/data/repositories.go b/internal/data/repositories.go index 05a268e..8b270bb 100644 --- a/internal/data/repositories.go +++ b/internal/data/repositories.go @@ -5,9 +5,9 @@ import ( "log" "time" - "github.com/VictorBersy/docker-hub-cli/internal/ui/constants" "github.com/charmbracelet/lipgloss" "github.com/imroc/req/v3" + "github.com/victorbersy/docker-hub-cli/internal/ui/constants" ) type RepositoryPage struct { diff --git a/internal/ui/components/help/help.go b/internal/ui/components/help/help.go index 6aaa09c..738989d 100644 --- a/internal/ui/components/help/help.go +++ b/internal/ui/components/help/help.go @@ -1,11 +1,11 @@ package help import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/context" - "github.com/VictorBersy/docker-hub-cli/internal/utils" bbHelp "github.com/charmbracelet/bubbles/help" "github.com/charmbracelet/bubbles/key" tea "github.com/charmbracelet/bubbletea" + "github.com/victorbersy/docker-hub-cli/internal/ui/context" + "github.com/victorbersy/docker-hub-cli/internal/utils" ) type Model struct { diff --git a/internal/ui/components/help/styles.go b/internal/ui/components/help/styles.go index e5365ac..84d447c 100644 --- a/internal/ui/components/help/styles.go +++ b/internal/ui/components/help/styles.go @@ -1,8 +1,8 @@ package help import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/styles" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/styles" ) var ( diff --git a/internal/ui/components/listviewport/listviewport.go b/internal/ui/components/listviewport/listviewport.go index b6cb602..a6e2df4 100644 --- a/internal/ui/components/listviewport/listviewport.go +++ b/internal/ui/components/listviewport/listviewport.go @@ -3,10 +3,10 @@ package listviewport import ( "fmt" - "github.com/VictorBersy/docker-hub-cli/internal/ui/constants" - "github.com/VictorBersy/docker-hub-cli/internal/utils" "github.com/charmbracelet/bubbles/viewport" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/constants" + "github.com/victorbersy/docker-hub-cli/internal/utils" ) type Model struct { diff --git a/internal/ui/components/listviewport/styles.go b/internal/ui/components/listviewport/styles.go index deee9dd..4c8cbbe 100644 --- a/internal/ui/components/listviewport/styles.go +++ b/internal/ui/components/listviewport/styles.go @@ -1,8 +1,8 @@ package listviewport import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/styles" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/styles" ) var ( diff --git a/internal/ui/components/repository/repository.go b/internal/ui/components/repository/repository.go index b4d2c9c..4f33bb5 100644 --- a/internal/ui/components/repository/repository.go +++ b/internal/ui/components/repository/repository.go @@ -3,10 +3,10 @@ package repository import ( "fmt" - "github.com/VictorBersy/docker-hub-cli/internal/data" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/table" - "github.com/VictorBersy/docker-hub-cli/internal/utils" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/data" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/table" + "github.com/victorbersy/docker-hub-cli/internal/utils" ) type Repository struct { diff --git a/internal/ui/components/sidebar/repository/sidebar_repository.go b/internal/ui/components/sidebar/repository/sidebar_repository.go index ca14c26..f77072b 100644 --- a/internal/ui/components/sidebar/repository/sidebar_repository.go +++ b/internal/ui/components/sidebar/repository/sidebar_repository.go @@ -3,9 +3,9 @@ package sidebar_repository import ( "fmt" - "github.com/VictorBersy/docker-hub-cli/internal/data" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/repository" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/data" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/repository" ) type Model struct { diff --git a/internal/ui/components/sidebar/sidebar.go b/internal/ui/components/sidebar/sidebar.go index 9de3e11..a2cdd3d 100644 --- a/internal/ui/components/sidebar/sidebar.go +++ b/internal/ui/components/sidebar/sidebar.go @@ -3,12 +3,12 @@ package sidebar import ( "fmt" - "github.com/VictorBersy/docker-hub-cli/internal/ui/constants" - "github.com/VictorBersy/docker-hub-cli/internal/ui/context" "github.com/charmbracelet/bubbles/key" "github.com/charmbracelet/bubbles/viewport" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/constants" + "github.com/victorbersy/docker-hub-cli/internal/ui/context" ) type Model struct { diff --git a/internal/ui/components/sidebar/styles.go b/internal/ui/components/sidebar/styles.go index 28b0773..38e2966 100644 --- a/internal/ui/components/sidebar/styles.go +++ b/internal/ui/components/sidebar/styles.go @@ -1,8 +1,8 @@ package sidebar import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/styles" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/styles" ) var ( diff --git a/internal/ui/components/table/styles.go b/internal/ui/components/table/styles.go index 772b49c..9dc6504 100644 --- a/internal/ui/components/table/styles.go +++ b/internal/ui/components/table/styles.go @@ -1,8 +1,8 @@ package table import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/styles" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/styles" ) var ( diff --git a/internal/ui/components/table/table.go b/internal/ui/components/table/table.go index c00de0f..d634a4d 100644 --- a/internal/ui/components/table/table.go +++ b/internal/ui/components/table/table.go @@ -1,10 +1,10 @@ package table import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/listviewport" - "github.com/VictorBersy/docker-hub-cli/internal/ui/constants" - "github.com/VictorBersy/docker-hub-cli/internal/ui/styles" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/listviewport" + "github.com/victorbersy/docker-hub-cli/internal/ui/constants" + "github.com/victorbersy/docker-hub-cli/internal/ui/styles" ) type Model struct { diff --git a/internal/ui/components/tabs/styles.go b/internal/ui/components/tabs/styles.go index dd7c9fb..d6f711d 100644 --- a/internal/ui/components/tabs/styles.go +++ b/internal/ui/components/tabs/styles.go @@ -1,8 +1,8 @@ package tabs import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/styles" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/styles" ) var ( diff --git a/internal/ui/components/tabs/tabs.go b/internal/ui/components/tabs/tabs.go index d5595b1..b5732fe 100644 --- a/internal/ui/components/tabs/tabs.go +++ b/internal/ui/components/tabs/tabs.go @@ -1,9 +1,9 @@ package tabs import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/context" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/context" ) type Model struct { diff --git a/internal/ui/components/view/explore/explore.go b/internal/ui/components/view/explore/explore.go index 5603fce..9980375 100644 --- a/internal/ui/components/view/explore/explore.go +++ b/internal/ui/components/view/explore/explore.go @@ -1,16 +1,16 @@ package view_explore import ( - "github.com/VictorBersy/docker-hub-cli/internal/data" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/repository" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/table" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view" - "github.com/VictorBersy/docker-hub-cli/internal/ui/constants" - "github.com/VictorBersy/docker-hub-cli/internal/ui/context" - "github.com/VictorBersy/docker-hub-cli/internal/utils" "github.com/charmbracelet/bubbles/spinner" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/data" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/repository" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/table" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/view" + "github.com/victorbersy/docker-hub-cli/internal/ui/constants" + "github.com/victorbersy/docker-hub-cli/internal/ui/context" + "github.com/victorbersy/docker-hub-cli/internal/utils" ) const ViewType = "explore" diff --git a/internal/ui/components/view/explore/styles.go b/internal/ui/components/view/explore/styles.go index a52a816..da7995b 100644 --- a/internal/ui/components/view/explore/styles.go +++ b/internal/ui/components/view/explore/styles.go @@ -1,8 +1,8 @@ package view_explore import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/view" ) var ( diff --git a/internal/ui/components/view/my_repos/my_repos.go b/internal/ui/components/view/my_repos/my_repos.go index 074bbfc..d8ec6fc 100644 --- a/internal/ui/components/view/my_repos/my_repos.go +++ b/internal/ui/components/view/my_repos/my_repos.go @@ -3,16 +3,16 @@ package my_repos import ( "time" - "github.com/VictorBersy/docker-hub-cli/internal/data" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/repository" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/table" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view" - "github.com/VictorBersy/docker-hub-cli/internal/ui/constants" - "github.com/VictorBersy/docker-hub-cli/internal/ui/context" - "github.com/VictorBersy/docker-hub-cli/internal/utils" "github.com/charmbracelet/bubbles/spinner" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/data" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/repository" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/table" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/view" + "github.com/victorbersy/docker-hub-cli/internal/ui/constants" + "github.com/victorbersy/docker-hub-cli/internal/ui/context" + "github.com/victorbersy/docker-hub-cli/internal/utils" ) const ViewType = "my_repos" diff --git a/internal/ui/components/view/my_repos/styles.go b/internal/ui/components/view/my_repos/styles.go index 209e2af..ea66322 100644 --- a/internal/ui/components/view/my_repos/styles.go +++ b/internal/ui/components/view/my_repos/styles.go @@ -1,8 +1,8 @@ package my_repos import ( - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/view" ) var ( diff --git a/internal/ui/components/view/view.go b/internal/ui/components/view/view.go index 91c906f..7482f2d 100644 --- a/internal/ui/components/view/view.go +++ b/internal/ui/components/view/view.go @@ -1,12 +1,12 @@ package view import ( - "github.com/VictorBersy/docker-hub-cli/internal/data" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/table" - "github.com/VictorBersy/docker-hub-cli/internal/ui/constants" - "github.com/VictorBersy/docker-hub-cli/internal/ui/context" "github.com/charmbracelet/bubbles/spinner" tea "github.com/charmbracelet/bubbletea" + "github.com/victorbersy/docker-hub-cli/internal/data" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/table" + "github.com/victorbersy/docker-hub-cli/internal/ui/constants" + "github.com/victorbersy/docker-hub-cli/internal/ui/context" ) type Model struct { diff --git a/internal/ui/context/context.go b/internal/ui/context/context.go index 05ec076..cbed88f 100644 --- a/internal/ui/context/context.go +++ b/internal/ui/context/context.go @@ -1,7 +1,7 @@ package context import ( - "github.com/VictorBersy/docker-hub-cli/internal/config" + "github.com/victorbersy/docker-hub-cli/internal/config" ) type ProgramContext struct { diff --git a/internal/ui/model_utils.go b/internal/ui/model_utils.go index 029cd67..0b89460 100644 --- a/internal/ui/model_utils.go +++ b/internal/ui/model_utils.go @@ -1,8 +1,8 @@ package ui import ( - "github.com/VictorBersy/docker-hub-cli/internal/data" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view" + "github.com/victorbersy/docker-hub-cli/internal/data" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/view" ) func (m *Model) getCurrView() view.View { diff --git a/internal/ui/ui_init.go b/internal/ui/ui_init.go index 8a4f3d4..af2bdc2 100644 --- a/internal/ui/ui_init.go +++ b/internal/ui/ui_init.go @@ -1,8 +1,8 @@ package ui import ( - "github.com/VictorBersy/docker-hub-cli/internal/config" tea "github.com/charmbracelet/bubbletea" + "github.com/victorbersy/docker-hub-cli/internal/config" ) func initScreen() tea.Msg { diff --git a/internal/ui/ui_model.go b/internal/ui/ui_model.go index 06d78cf..80da8e1 100644 --- a/internal/ui/ui_model.go +++ b/internal/ui/ui_model.go @@ -1,17 +1,17 @@ package ui import ( - "github.com/VictorBersy/docker-hub-cli/internal/config" - "github.com/VictorBersy/docker-hub-cli/internal/data" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/help" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/sidebar" - sidebar_repository "github.com/VictorBersy/docker-hub-cli/internal/ui/components/sidebar/repository" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/tabs" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view" - "github.com/VictorBersy/docker-hub-cli/internal/ui/context" - "github.com/VictorBersy/docker-hub-cli/internal/utils" "github.com/charmbracelet/bubbles/key" tea "github.com/charmbracelet/bubbletea" + "github.com/victorbersy/docker-hub-cli/internal/config" + "github.com/victorbersy/docker-hub-cli/internal/data" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/help" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/sidebar" + sidebar_repository "github.com/victorbersy/docker-hub-cli/internal/ui/components/sidebar/repository" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/tabs" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/view" + "github.com/victorbersy/docker-hub-cli/internal/ui/context" + "github.com/victorbersy/docker-hub-cli/internal/utils" ) type Model struct { diff --git a/internal/ui/ui_view.go b/internal/ui/ui_view.go index ef6a13b..2b056f1 100644 --- a/internal/ui/ui_view.go +++ b/internal/ui/ui_view.go @@ -3,12 +3,12 @@ package ui import ( "strings" - "github.com/VictorBersy/docker-hub-cli/internal/config" - "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view" - view_explore "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view/explore" - view_my_repos "github.com/VictorBersy/docker-hub-cli/internal/ui/components/view/my_repos" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" + "github.com/victorbersy/docker-hub-cli/internal/config" + "github.com/victorbersy/docker-hub-cli/internal/ui/components/view" + view_explore "github.com/victorbersy/docker-hub-cli/internal/ui/components/view/explore" + view_my_repos "github.com/victorbersy/docker-hub-cli/internal/ui/components/view/my_repos" ) func (m Model) View() string { diff --git a/main.go b/main.go index b276197..34da51e 100644 --- a/main.go +++ b/main.go @@ -5,8 +5,8 @@ import ( "log" "os" - "github.com/VictorBersy/docker-hub-cli/internal/ui" tea "github.com/charmbracelet/bubbletea" + "github.com/victorbersy/docker-hub-cli/internal/ui" ) func main() {