libfic: add new functions to retrieve the Id of some contents from Title, Label, ...

This commit is contained in:
nemunaire 2019-11-25 14:19:29 +01:00
commit 698c2f1a47
4 changed files with 30 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import ()
type Flag interface {
GetId() int64
RecoverId() (Flag, error)
Create(e Exercice) (Flag, error)
Update() (int64, error)
Delete() (int64, error)