aboutsummaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rw-r--r--repo/sessionRepo.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/sessionRepo.go b/repo/sessionRepo.go
index ce923b1..15e3d31 100644
--- a/repo/sessionRepo.go
+++ b/repo/sessionRepo.go
@@ -40,3 +40,8 @@ func (repo *sessionRepo) Get(id string) (s model.Session, err error) {
return
}
+
+func (repo *sessionRepo) Remove(id string) {
+ repo.db.Remove(id)
+ return
+}