mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
28 lines
460 B
Go
28 lines
460 B
Go
package settings
|
|
|
|
type baseSetting struct {
|
|
title string
|
|
description string
|
|
id string
|
|
dependsOn string
|
|
}
|
|
|
|
func (s *baseSetting) GetID() string {
|
|
return s.id
|
|
}
|
|
|
|
func (s *baseSetting) GetTitle() string {
|
|
return s.title
|
|
}
|
|
|
|
func (s *baseSetting) GetDescription() string {
|
|
return s.description
|
|
}
|
|
|
|
func (s *baseSetting) GetDependency() string {
|
|
return s.dependsOn
|
|
}
|
|
|
|
func (s *baseSetting) IsDisabled(foreignValue any) bool {
|
|
return false
|
|
}
|