Skip to content

Commit 3e7c1d2

Browse files
authored
Merge pull request #4438 from fengshunli/desc
🌱 add better description to MarshalYAML and UnmarshalYAML methods
2 parents 49ad403 + 3dce03c commit 3e7c1d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/config/interface.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ type Config interface {
9595

9696
/* Persistence */
9797

98-
// Marshal returns the YAML representation of the Config.
98+
// MarshalYAML Marshal returns the YAML representation of the Config.
9999
MarshalYAML() ([]byte, error)
100-
// Unmarshal loads the Config fields from its YAML representation.
100+
// UnmarshalYAML Unmarshal loads the Config fields from its YAML representation.
101101
UnmarshalYAML([]byte) error
102102
}

0 commit comments

Comments
 (0)