Draft: feat login
This commit is contained in:
14
interfaces/database.go
Normal file
14
interfaces/database.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package interfaces
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"gitea.konchin.com/ytshih/inp2025/game/models"
|
||||
)
|
||||
|
||||
type Database interface {
|
||||
InsertUser(
|
||||
ctx context.Context,
|
||||
user models.User,
|
||||
) error
|
||||
}
|
||||
Reference in New Issue
Block a user