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

sequential: simplify aliases #130

Closed
wants to merge 1 commit into from
Closed

Conversation

kolyshkin
Copy link
Collaborator

@kolyshkin kolyshkin commented Aug 25, 2023

This is easier and self-documenting.

An added benefit is one less indirection when calling these functions.

A follow up to #127.

This is easier and self-documenting.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@thaJeztah
Copy link
Member

The reason I used a function and not an alias was that pkg.go.dev would show them as "variables" not functions (also not sure if we technically want them to be mutable)

@kolyshkin kolyshkin closed this Aug 26, 2023
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.

None yet

2 participants