Skip to content

refactor: make nested config structs unexported#419

Merged
soltanoff merged 1 commit intoevrone:masterfrom
Dawe257:refactor/encapsulate-config-types
May 1, 2026
Merged

refactor: make nested config structs unexported#419
soltanoff merged 1 commit intoevrone:masterfrom
Dawe257:refactor/encapsulate-config-types

Conversation

@Dawe257
Copy link
Copy Markdown
Contributor

@Dawe257 Dawe257 commented Apr 30, 2026

Currently, all nested configuration structs are exported, which clutters the package's public API. Since these sub-structs are initialized only via the NewConfig() function within the same package, there is no need for them to be visible to external packages.

@soltanoff
Copy link
Copy Markdown
Collaborator

Hi! Thanks for your contribution.

So please make a rebase and fix the first commit author.

image

Copy link
Copy Markdown
Collaborator

@soltanoff soltanoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the CI pipelines (ignore integration tests errors).

@Dawe257 Dawe257 force-pushed the refactor/encapsulate-config-types branch 2 times, most recently from 6895328 to a1f5af9 Compare May 1, 2026 16:42
@soltanoff soltanoff added enhancement New feature or request go Pull requests that update Go code labels May 1, 2026
@Dawe257 Dawe257 force-pushed the refactor/encapsulate-config-types branch from a1f5af9 to 5da4151 Compare May 1, 2026 16:55
Copy link
Copy Markdown
Collaborator

@soltanoff soltanoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks

@soltanoff soltanoff merged commit 2820d96 into evrone:master May 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants