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

feat: init cli flags #1284

Merged
merged 2 commits into from
Feb 26, 2024
Merged

feat: init cli flags #1284

merged 2 commits into from
Feb 26, 2024

Conversation

Dav-14
Copy link
Contributor

@Dav-14 Dav-14 commented Feb 26, 2024

No description provided.

@Dav-14 Dav-14 requested a review from a team as a code owner February 26, 2024 09:41
@Dav-14 Dav-14 force-pushed the feat/export_and_init_nats_cli_flags branch from be6a23e to 91365c3 Compare February 26, 2024 09:41
}

func InitNatsCliFlags(cmd *cobra.Command, options ...func(*ConfigDefault)) {
values := defaultConfigValues
Copy link
Contributor Author

Choose a reason for hiding this comment

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

je divise les cli flags

logger logging.Logger
shutdowner fx.Shutdowner
}

func newNatsDefaultCallbacks(logger logging.Logger, shutdowner fx.Shutdowner) NATSCallbacks {
return &natsDefaultCallbacks{
func NewNatsDefaultCallbacks(logger logging.Logger, shutdowner fx.Shutdowner) NATSCallbacks {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

J'export le default callbacks, j'en ai besoin pour la suite

@Dav-14 Dav-14 enabled auto-merge February 26, 2024 10:04
@Dav-14 Dav-14 added this pull request to the merge queue Feb 26, 2024
Merged via the queue into main with commit 2801a06 Feb 26, 2024
11 checks passed
@Dav-14 Dav-14 deleted the feat/export_and_init_nats_cli_flags branch February 26, 2024 10:38
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.

3 participants