mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
session + user structs, some light refactoring, user roles
This commit is contained in:
@@ -235,3 +235,11 @@ func (e *Entry) Comment() string {
|
||||
func (e *Entry) SetComment(comment string) {
|
||||
e.Set(COMMENT_FIELD, comment)
|
||||
}
|
||||
|
||||
func (e *Entry) Editor() string {
|
||||
return e.GetString(EDITOR_FIELD)
|
||||
}
|
||||
|
||||
func (e *Entry) SetEditor(editor string) {
|
||||
e.Set(EDITOR_FIELD, editor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user