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 (
9
9
10
10
// Config is marshallable content of config.toml
11
11
type 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" `
15
15
}
16
16
17
17
// configBuild is a config for 'volt build'.
18
18
type configBuild struct {
19
- Strategy string `toml:"strategy"`
19
+ Strategy string `toml:"strategy" json:"strategy" `
20
20
}
21
21
22
22
// configGet is a config for 'volt get'.
23
23
type 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" `
26
26
}
27
27
28
28
const (
You can’t perform that action at this time.
0 commit comments