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

Add interfaces methods parameters names #346

Closed
Adphi opened this issue Mar 23, 2023 · 1 comment
Closed

Add interfaces methods parameters names #346

Adphi opened this issue Mar 23, 2023 · 1 comment

Comments

@Adphi
Copy link

Adphi commented Mar 23, 2023

It would be very helpful to have the method's parameters names in the interfaces definitions, e.g.

type AuthStorage interface {
	CreateAuthRequest(ctx context.Context, authReq *oidc.AuthRequest, userID string) (op.AuthRequest, error)
	// ...
}

instead of:

type AuthStorage interface {
	CreateAuthRequest(context.Context, *oidc.AuthRequest, string) (AuthRequest, error)
	// ...
}
@muhlemmer
Copy link
Collaborator

We agree! We have a similar discussion already open here: #145
We are open for pull requests!

Closing this as duplicate.

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

No branches or pull requests

2 participants