Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Turn module name into lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
AlyxPractice committed Jul 23, 2022
1 parent 3f6597c commit 0a672dc
Show file tree
Hide file tree
Showing 25 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/VictorBersy/docker-hub-cli
module github.com/victorbersy/docker-hub-cli

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion internal/data/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/ui/components/help/help.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/help/styles.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
4 changes: 2 additions & 2 deletions internal/ui/components/listviewport/listviewport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/listviewport/styles.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
6 changes: 3 additions & 3 deletions internal/ui/components/repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/ui/components/sidebar/sidebar.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/sidebar/styles.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/table/styles.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
6 changes: 3 additions & 3 deletions internal/ui/components/table/table.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/tabs/styles.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/tabs/tabs.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
14 changes: 7 additions & 7 deletions internal/ui/components/view/explore/explore.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/view/explore/styles.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
14 changes: 7 additions & 7 deletions internal/ui/components/view/my_repos/my_repos.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/components/view/my_repos/styles.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
8 changes: 4 additions & 4 deletions internal/ui/components/view/view.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/context/context.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/ui/model_utils.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/ui/ui_init.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
18 changes: 9 additions & 9 deletions internal/ui/ui_model.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions internal/ui/ui_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 0a672dc

Please sign in to comment.