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

No interface provided for Client #436

Open
geigerj0 opened this issue Nov 27, 2024 · 0 comments
Open

No interface provided for Client #436

geigerj0 opened this issue Nov 27, 2024 · 0 comments

Comments

@geigerj0
Copy link

The go-cfclient library, specifically the client.go-file in, does not define an interface for its client:

type Client struct {

This design choice makes it challenging for developers to use the library in their projects effectively, particularly when writing unit tests. Without an exposed interface, it becomes cumbersome to generate mocks for the client.

@geigerj0 geigerj0 changed the title No client-interface provided by client-package No interface provided for Client Nov 27, 2024
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

1 participant