generated from ZEISS/template-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c6596b
commit 612a8ae
Showing
8 changed files
with
1,616 additions
and
1,466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package controllers | ||
|
||
import ( | ||
seed "github.com/zeiss/gorm-seed" | ||
"github.com/zeiss/knox/internal/ports" | ||
) | ||
|
||
var _ TeamController = (*TeamControllerImpl)(nil) | ||
|
||
// TeamController ... | ||
type TeamController interface{} | ||
|
||
// TeamControllerImpl is the controller for teams. | ||
type TeamControllerImpl struct { | ||
store seed.Database[ports.ReadTx, ports.ReadWriteTx] | ||
} | ||
|
||
// NewTeamController returns a new instance of TeamController. | ||
func NewTeamController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *TeamControllerImpl { | ||
return &TeamControllerImpl{store} | ||
} |
Oops, something went wrong.