MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / GetMemo

Method GetMemo

core/app/service/setting.go:797–803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

795}
796
797func (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
805func (u *SettingService) UpdateMemo(content string) error {
806 return settingRepo.UpdateOrCreate("DashboardMemo", content)

Callers

nothing calls this directly

Calls 1

GetValueByKeyMethod · 0.65

Tested by

no test coverage detected