()
| 795 | } |
| 796 | |
| 797 | func (u *SettingService) GetMemo() (string, error) { |
| 798 | memo, err := settingRepo.GetValueByKey("DashboardMemo") |
| 799 | if err != nil { |
| 800 | return "", nil |
| 801 | } |
| 802 | return memo, nil |
| 803 | } |
| 804 | |
| 805 | func (u *SettingService) UpdateMemo(content string) error { |
| 806 | return settingRepo.UpdateOrCreate("DashboardMemo", content) |
nothing calls this directly
no test coverage detected