You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
288 B

package domain
import (
"context"
"time"
)
type User struct {
ID string `bson:"_id"`
Castle string
Guild string
Name string
Level int
Source string
FirstSeen time.Time
LastSeen time.Time
}
type UserRepo interface {
Store(ctx context.Context, object *User) error
}