29 строки
460 B
Go
29 строки
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
|
|
}
|