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:
@@ -212,3 +212,11 @@ func (c *Content) Comment() string {
|
||||
func (c *Content) SetComment(comment string) {
|
||||
c.Set(COMMENT_FIELD, comment)
|
||||
}
|
||||
|
||||
func (c *Content) Editor() string {
|
||||
return c.GetString(EDITOR_FIELD)
|
||||
}
|
||||
|
||||
func (c *Content) SetEditor(editor string) {
|
||||
c.Set(EDITOR_FIELD, editor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user