HasSolved now returns a tuple (bool, Time, int)
This commit is contained in:
parent
c33c2b8e8a
commit
381aefa597
3 changed files with 19 additions and 12 deletions
|
|
@ -5,10 +5,10 @@ import (
|
|||
)
|
||||
|
||||
type Key struct {
|
||||
Id int64 `json:"id"`
|
||||
IdExercice int64 `json:"idExercice"`
|
||||
Type string `json:"type"`
|
||||
Value []byte `json:"value"`
|
||||
Id int64 `json:"id"`
|
||||
IdExercice int64 `json:"idExercice"`
|
||||
Type string `json:"type"`
|
||||
Value []byte `json:"value"`
|
||||
}
|
||||
|
||||
func (e Exercice) GetKeys() ([]Key, error) {
|
||||
|
|
|
|||
Reference in a new issue