File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,20 @@ import (
99
1010// Config is marshallable content of config.toml
1111type Config struct {
12- Alias map [string ][]string `toml:"alias"`
13- Build configBuild `toml:"build"`
14- Get configGet `toml:"get"`
12+ Alias map [string ][]string `toml:"alias" json:"alias" `
13+ Build configBuild `toml:"build" json:"build" `
14+ Get configGet `toml:"get" json:"get" `
1515}
1616
1717// configBuild is a config for 'volt build'.
1818type configBuild struct {
19- Strategy string `toml:"strategy"`
19+ Strategy string `toml:"strategy" json:"strategy" `
2020}
2121
2222// configGet is a config for 'volt get'.
2323type configGet struct {
24- CreateSkeletonPlugconf * bool `toml:"create_skeleton_plugconf"`
25- FallbackGitCmd * bool `toml:"fallback_git_cmd"`
24+ CreateSkeletonPlugconf * bool `toml:"create_skeleton_plugconf" json:"create_skeleton_plugconf" `
25+ FallbackGitCmd * bool `toml:"fallback_git_cmd" json:"fallback_git_cmd" `
2626}
2727
2828const (
You can’t perform that action at this time.
0 commit comments