[#2205] fixed Record.WithUnknownData() typo

This commit is contained in:
Gani Georgiev
2023-04-03 22:01:27 +03:00
parent 8ca439e5f7
commit 9f76ad234c
3 changed files with 11 additions and 6 deletions

View File

@@ -279,9 +279,9 @@ func (m *Record) IgnoreEmailVisibility(state bool) {
m.ignoreEmailVisibility = state
}
// WithUnkownData toggles the export/serialization of unknown data fields
// WithUnknownData toggles the export/serialization of unknown data fields
// (false by default).
func (m *Record) WithUnkownData(state bool) {
func (m *Record) WithUnknownData(state bool) {
m.exportUnknown = state
}