Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move pkg/utilities #84

Merged
merged 1 commit into from
Jun 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/appUpdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"regexp"
"strings"
"time"
util "wowtools/pkg/utilities"
util "wowtools/internal/utilities"

"github.com/google/go-github/v56/github"
)
Expand Down
5 changes: 3 additions & 2 deletions internal/curseforgeOpener.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package internal

import (
"fmt"
"github.com/spf13/viper"
"log"
"os/exec"
"wowtools/pkg/utilities"
"wowtools/internal/utilities"

"github.com/spf13/viper"
)

func OpenCurseforge() {
Expand Down
2 changes: 1 addition & 1 deletion internal/ptrCopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"
"os/exec"
"wowtools/pkg/utilities"
"wowtools/internal/utilities"

"github.com/spf13/viper"
)
Expand Down
5 changes: 3 additions & 2 deletions internal/updateElvUI.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ package internal
import (
"encoding/json"
"fmt"
"github.com/spf13/viper"
"io/ioutil"
"log"
"net/http"
"os"
"regexp"
"strings"
"time"
utilities "wowtools/pkg/utilities"
utilities "wowtools/internal/utilities"

"github.com/spf13/viper"
)

func getCurrentElvuiVersion() []string {
Expand Down
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 internal/wtfBackup.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"
"time"
"wowtools/pkg/utilities"
"wowtools/internal/utilities"

"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/wtfRestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package internal
import (
"fmt"
"os"
"wowtools/pkg/utilities"
"wowtools/internal/utilities"

"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"sync"
"wowtools/internal"
util "wowtools/pkg/utilities"
util "wowtools/internal/utilities"

"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion test/logrus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package test

import (
"testing"
"wowtools/pkg/utilities"
"wowtools/internal/utilities"
)

func TestLogrus(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion test/removeFile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"
"testing"
"wowtools/pkg/utilities"
"wowtools/internal/utilities"
)

func TestRemoveFile(t *testing.T) {
Expand Down