Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

plugins: don't omit empty config values #46

Merged
merged 1 commit into from
Aug 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plugins.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package config

type Plugins struct {
Plugins map[string]Plugin `json:",omitempty"`
Plugins map[string]Plugin
// TODO: Loader Path? Leaving that out for now due to security concerns.
}

type Plugin struct {
Disabled bool `json:",omitempty"`
Config interface{} `json:",omitempty"`
Disabled bool
Config interface{}
}