// CommandPort is a port for Hexagonal Architecture Pattern.
// It is used to communicate with the application layer.
type CommandPort interface {
LoggingCommandPort
AuthenticationCommandPort
}
## Files to Update:
`internal/application/presentation/port/query/query.go``
- After Change:
```go
package application
// QueryPort is a port for Hexagonal Architecture Pattern.
// It is used to communicate with the application layer.
type QueryPort interface {
}
The changes will be merged into the first/hsm/1/create-first branch first. Therefore, set the base branch of the pull request as first/hsm/1/create-first.
We need to remove the UserCommandPort and UserQueryPort entries from the command and query port interfaces within the presentation layer.
Files to Update:
internal/application/presentation/port/command/command.go
// CommandPort is a port for Hexagonal Architecture Pattern. // It is used to communicate with the application layer. type CommandPort interface { LoggingCommandPort AuthenticationCommandPort }
The changes will be merged into the first/hsm/1/create-first branch first. Therefore, set the base branch of the pull request as first/hsm/1/create-first.