Documentation ¶
Index ¶
Constants ¶
View Source
const Key = model.ManagerKey("massCode")
Variables ¶
This section is empty.
Functions ¶
func Description ¶
func Description(config *Config) model.ManagerDescription
Types ¶
type Config ¶
type Config struct { Enabled bool `yaml:"enabled" head_comment:"Set to true if you want to use pet."` MassCodeHome string `yaml:"massCodeHome" head_comment:"Path to the massCode directory containing the db files."` Version Version `version:"Version of massCode. Allowed values: v1, v2."` IncludeTags []string `` /* 132-byte string literal not displayed */ }
func AutoDiscoveryConfig ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetSnippets ¶
func (Manager) Key ¶
func (m Manager) Key() model.ManagerKey
func (*Manager) Sync ¶
func (m *Manager) Sync(model.SyncEventChannel)
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option configures a Manager.
func WithConfig ¶
func WithSystem ¶
WithSystem sets the utils.System instance to be used by Manager.
Click to show internal directories.
Click to hide internal directories.