Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#### Version 0.7.14 #41

Merged
merged 1 commit into from
Sep 6, 2024
Merged

#### Version 0.7.14 #41

merged 1 commit into from
Sep 6, 2024

Conversation

devfeel
Copy link
Owner

@devfeel devfeel commented Sep 6, 2024

  • Feature: Implement variable arguments based on NewMapper for flexible configuration settings when you init mapper.
  • Feature: Add Setting struct used to Config mapper
  • you can use like this:
  // Default Setting:
  // EnabledTypeChecking:      false,
  // EnabledMapperStructField: true,
  // EnabledAutoTypeConvert:   true,
  // EnabledMapperTag:         true,
  // EnabledJsonTag:           true,
  // EnabledCustomTag:         false,
  // EnableFieldIgnoreTag:     false,

  /// When you use default setting
  NewMapper()

  /// When you will change some setting
  NewMapper(CTypeChecking(true), CCustomTagName("-"))
  • 2024-09-06 19:00 in ShangHai

* Feature: Implement variable arguments based on NewMapper for flexible configuration settings when you init mapper.
* Feature: Add Setting struct used to Config mapper
* you can use like this:
``` go
  // Default Setting:
  // EnabledTypeChecking:      false,
  // EnabledMapperStructField: true,
  // EnabledAutoTypeConvert:   true,
  // EnabledMapperTag:         true,
  // EnabledJsonTag:           true,
  // EnabledCustomTag:         false,
  // EnableFieldIgnoreTag:     false,

  /// When you use default setting
  NewMapper()

  /// When you will change some setting
  NewMapper(CTypeChecking(true), CCustomTagName("-"))
```
* 2024-09-06 19:00 in ShangHai
@devfeel devfeel merged commit f12b58f into develop Sep 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant