Skip to content

Commit 2f121fe

Browse files
committed
chore: remove json from unexported fields
1 parent a353977 commit 2f121fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pkg/profile/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Profile struct {
2121
Name string `json:"name"`
2222
Directory string `json:"directory"`
2323
config *Config // Config is loaded on demand
24-
mods []Mod `json:"-"` // Stored in Directory/.mc-cli/mods.json
24+
mods []Mod // Stored in Directory/.mc-cli/mods.json
2525

2626
Type Type `json:"type"`
2727
// Version represents the version json used for the profile.
@@ -30,7 +30,7 @@ type Profile struct {
3030

3131
// GameVersion represents the Minecraft version of the profile.
3232
// Accessed through GameVersion() because it defaults to parsing Version in the event that the profile is old
33-
gameVersion string `json:"game_version"`
33+
gameVersion string
3434
}
3535

3636
func (p *Profile) Config() *Config {

0 commit comments

Comments
 (0)