Skip to content

Conversation

@utkuozdemir
Copy link
Member

Export the state struct from the internal package into a public package. It is a dependency of the ClusterServer GRPC service - so to be able to import and use it, the state also needs to be exported.

Export the state struct from the internal package into a public package. It is a dependency of the `ClusterServer` GRPC service - so to be able to import and use it, the state also needs to be exported.

Signed-off-by: Utku Ozdemir <[email protected]>
@smira
Copy link
Member

smira commented May 28, 2024

Does it make sense to export the entrypoint, i.e. cmd/main.go as a function in a package?

@utkuozdemir
Copy link
Member Author

Does it make sense to export the entrypoint, i.e. cmd/main.go as a function in a package?

Hm, maybe not exactly that, as lots of other things going on there, but probably exporting the code that builds the state + grpc server struct + storage as a single function could work.

@smira
Copy link
Member

smira commented May 28, 2024

Does it make sense to export the entrypoint, i.e. cmd/main.go as a function in a package?

Hm, maybe not exactly that, as lots of other things going on there, but probably exporting the code that builds the state + grpc server struct + storage as a single function could work.

yeah, I mean exactly something like that

@github-actions
Copy link

github-actions bot commented Jul 4, 2025

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale label Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants