Skip to content

Commit

Permalink
fix module
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen3H committed Apr 6, 2024
1 parent fe75c9c commit 44b64a5
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion common/package.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package common

import "thundergo/util"
import "github.com/The-Egg-Corp/ThunderGo/util"

type BasePackageMetadata struct {
Name string `json:"name"`
Expand Down
2 changes: 1 addition & 1 deletion experimental/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package experimental
import (
"encoding/base64"
"fmt"
"thundergo/util"
"github.com/The-Egg-Corp/ThunderGo/util"

"github.com/samber/lo"
)
Expand Down
4 changes: 2 additions & 2 deletions experimental/community.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package experimental

import (
"fmt"
"thundergo/common"
"thundergo/util"
"github.com/The-Egg-Corp/ThunderGo/common"
"github.com/The-Egg-Corp/ThunderGo/util"
)

type Category = common.PackageCategory
Expand Down
4 changes: 2 additions & 2 deletions experimental/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package experimental

import (
"fmt"
"thundergo/common"
"thundergo/util"
"github.com/The-Egg-Corp/ThunderGo/common"
"github.com/The-Egg-Corp/ThunderGo/util"
)

type Package struct {
Expand Down
2 changes: 1 addition & 1 deletion experimental/validation.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package experimental

import (
"thundergo/util"
"github.com/The-Egg-Corp/ThunderGo/util"
)

type ValidatorResponse struct {
Expand Down
2 changes: 1 addition & 1 deletion experimental/wiki.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package experimental

import (
"thundergo/util"
"github.com/The-Egg-Corp/ThunderGo/util"
)

type WikiList struct {
Expand Down
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module thundergo
module github.com/The-Egg-Corp/ThunderGo

replace github.com/The-Egg-Corp/ThunderGo => ./
//replace thundergo => ./

go 1.22.1

Expand Down
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b h1:XxMZvQZtTXpWMNWK82vdjCLCe7uGMFXdTsJH0v3Hkvw=
github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0 h1:GD+A8+e+wFkqje55/2fOVnZPkoDIu1VooBWfNrnY8Uo=
github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA=
github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA=
github.com/sanity-io/litter v1.5.5 h1:iE+sBxPBzoK6uaEP5Lt3fHNgpKcHXc/A2HGETy0uJQo=
github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U=
github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312 h1:UsFdQ3ZmlzS0BqZYGxvYaXvFGUbCmPGy8DM7qWJJiIQ=
github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 h1:3MTrJm4PyNL9NBqvYDSj3DHl46qQakyfqfWo4jgfaEM=
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17/go.mod h1:lgLbSvA5ygNOMpwM/9anMpWVlVJ7Z+cHWq/eFuinpGE=
4 changes: 2 additions & 2 deletions tests/community_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package tests

import (
"fmt"
TSGO "github.com/The-Egg-Corp/ThunderGo/experimental"
"github.com/The-Egg-Corp/ThunderGo/util"
"testing"
TSGO "thundergo/experimental"
"thundergo/util"
)

func TestCommunity(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions tests/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package tests

import (
"fmt"
TSGOExp "github.com/The-Egg-Corp/ThunderGo/experimental"
"github.com/The-Egg-Corp/ThunderGo/util"
TSGOV1 "github.com/The-Egg-Corp/ThunderGo/v1"
"testing"
TSGOExp "thundergo/experimental"
"thundergo/util"
TSGOV1 "thundergo/v1"
)

// region Experimental Tests
Expand Down
4 changes: 2 additions & 2 deletions tests/validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package tests

import (
"fmt"
TSGO "github.com/The-Egg-Corp/ThunderGo/experimental"
"github.com/The-Egg-Corp/ThunderGo/util"
"os"
"testing"
TSGO "thundergo/experimental"
"thundergo/util"
)

// Seems to need Authentication
Expand Down
2 changes: 1 addition & 1 deletion v1/api.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package v1

import (
"thundergo/util"
"github.com/The-Egg-Corp/ThunderGo/util"
)

func GetAllPackages() (PackageList, error) {
Expand Down
2 changes: 1 addition & 1 deletion v1/community.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package v1

import (
"fmt"
"thundergo/util"
"github.com/The-Egg-Corp/ThunderGo/util"
)

type Community struct {
Expand Down
2 changes: 1 addition & 1 deletion v1/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package v1

import (
//"fmt"
"github.com/The-Egg-Corp/ThunderGo/util"
"strings"
"thundergo/util"

"github.com/samber/lo"
)
Expand Down
2 changes: 1 addition & 1 deletion v1/user.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package v1

import "thundergo/util"
import "github.com/The-Egg-Corp/ThunderGo/util"

type UserMedia struct {
UUID string `json:"uuid"`
Expand Down

0 comments on commit 44b64a5

Please sign in to comment.