Skip to content

Commit

Permalink
Merge pull request #17 from MattSScott/package-simplify
Browse files Browse the repository at this point in the history
simplify package structure
  • Loading branch information
MattSScott authored Sep 28, 2023
2 parents 373be98 + 3e5dda8 commit fc65f71
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 352 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package baseagent

import (
message "github.com/MattSScott/basePlatformSOMAS/pkg/main/messaging"
message "github.com/MattSScott/basePlatformSOMAS/messaging"

"github.com/google/uuid"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/main/BaseAgent/baseAgent.go → BaseAgent/baseAgent.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package baseagent

import (
message "github.com/MattSScott/basePlatformSOMAS/pkg/main/messaging"
message "github.com/MattSScott/basePlatformSOMAS/messaging"
"github.com/google/uuid"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package baseagent_test
import (
"testing"

baseagent "github.com/MattSScott/basePlatformSOMAS/pkg/main/BaseAgent"
baseagent "github.com/MattSScott/basePlatformSOMAS/BaseAgent"
"github.com/google/uuid"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package baseserver
import (
"fmt"

baseagent "github.com/MattSScott/basePlatformSOMAS/pkg/main/BaseAgent"
baseagent "github.com/MattSScott/basePlatformSOMAS/BaseAgent"
"github.com/google/uuid"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package baseserver_test
import (
"testing"

baseagent "github.com/MattSScott/basePlatformSOMAS/pkg/main/BaseAgent"
baseserver "github.com/MattSScott/basePlatformSOMAS/pkg/main/BaseServer"
"github.com/MattSScott/basePlatformSOMAS/pkg/main/messaging"
baseagent "github.com/MattSScott/basePlatformSOMAS/BaseAgent"
baseserver "github.com/MattSScott/basePlatformSOMAS/BaseServer"
"github.com/MattSScott/basePlatformSOMAS/messaging"
)

type ITestBaseAgent interface {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package baseserver

import (
baseagent "github.com/MattSScott/basePlatformSOMAS/pkg/main/BaseAgent"
baseagent "github.com/MattSScott/basePlatformSOMAS/BaseAgent"
"github.com/google/uuid"
)

Expand Down
22 changes: 0 additions & 22 deletions main.go

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package messaging_test
import (
"testing"

baseagent "github.com/MattSScott/basePlatformSOMAS/pkg/main/BaseAgent"
"github.com/MattSScott/basePlatformSOMAS/pkg/main/messaging"
baseagent "github.com/MattSScott/basePlatformSOMAS/BaseAgent"
"github.com/MattSScott/basePlatformSOMAS/messaging"
)

type Message1 struct {
Expand Down
43 changes: 0 additions & 43 deletions pkg/testing/testAgents/baseExtendedAgent/baseExtendedAgent.go

This file was deleted.

36 changes: 0 additions & 36 deletions pkg/testing/testAgents/baseExtendedAgent/baseExtendedAgent_test.go

This file was deleted.

30 changes: 0 additions & 30 deletions pkg/testing/testAgents/baseExtendedAgent/greetingMessage.go

This file was deleted.

39 changes: 0 additions & 39 deletions pkg/testing/testAgents/helloAgent/helloAgent.go

This file was deleted.

39 changes: 0 additions & 39 deletions pkg/testing/testAgents/worldAgent/worldAgent.go

This file was deleted.

80 changes: 0 additions & 80 deletions pkg/testing/testServer/server_test.go

This file was deleted.

Loading

0 comments on commit fc65f71

Please sign in to comment.