mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
IDs: string -> int
This commit is contained in:
@@ -200,11 +200,11 @@ func (e *Entry) SetDeprecated(deprecated Deprecated) {
|
||||
e.Set(MUSENALM_DEPRECATED_FIELD, deprecated)
|
||||
}
|
||||
|
||||
func (e *Entry) MusenalmID() string {
|
||||
return e.GetString(MUSENALMID_FIELD)
|
||||
func (e *Entry) MusenalmID() int {
|
||||
return e.GetInt(MUSENALMID_FIELD)
|
||||
}
|
||||
|
||||
func (e *Entry) SetMusenalmID(musenalmID string) {
|
||||
func (e *Entry) SetMusenalmID(musenalmID int) {
|
||||
e.Set(MUSENALMID_FIELD, musenalmID)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user