Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi committed Feb 11, 2025
1 parent 6f2c6ac commit 0a8c498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/coding-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ To keep naming patterns consistent across the project, enumeration patterns are
When representing optional fields in the configuration, we distinguish two cases:
1. For scalars (e.g. `int`, `string`, `bool`, `time.Duration`...), the zero value of the base type
is used to represent the absence of the field. The default value for this field may be different
from the zero value, so, when using the Go API you MUST follow the guidance on the [Default
Configuration] section.
from the zero value, so, when using the Go API you MUST follow the guidance on the [Default Configuration]
section.
2. For struct fields, you may use a pointer to struct to represent an optional sections.

## Recommended Libraries / Defaults
Expand Down

0 comments on commit 0a8c498

Please sign in to comment.