MCPcopy Create free account
hub / github.com/cogentcore/core / SettingsBase

Struct SettingsBase

core/settings.go:80–87  ·  view source on GitHub ↗

SettingsBase contains base settings logic that other settings data types can extend.

Source from the content-addressed store, hash-verified

78
79// SettingsBase contains base settings logic that other settings data types can extend.
80type SettingsBase struct {
81
82 // Name is the name of the settings.
83 Name string `display:"-" save:"-"`
84
85 // File is the full filename/filepath at which the settings are stored.
86 File string `display:"-" save:"-"`
87}
88
89// Label returns the label text for the settings.
90func (sb *SettingsBase) Label() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected