diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-24 00:08:00 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-24 00:08:00 -0600 |
| commit | a8e47145f93f07740d751be37d450599b26b2fc8 (patch) | |
| tree | 3d8fdd7f7fcbda853cf1f42b4a5d96df57c3d71d /app/domain/entity.go | |
| parent | 1ab4de8ec28d4fdd46cd9b3e246eea4a85ca6b6c (diff) | |
feat: create middleware to check if user has permission
Diffstat (limited to 'app/domain/entity.go')
| -rw-r--r-- | app/domain/entity.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/domain/entity.go b/app/domain/entity.go index fb1cab8..0377c51 100644 --- a/app/domain/entity.go +++ b/app/domain/entity.go @@ -1,7 +1,6 @@ package domain type Entity interface { - GetID() ID - SetID(id ID) error + Identifiable Validate() error } |
