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

proposal: File scoped private variables and functions #71329

Closed
Wolfiwolf opened this issue Jan 19, 2025 · 0 comments
Closed

proposal: File scoped private variables and functions #71329

Wolfiwolf opened this issue Jan 19, 2025 · 0 comments
Labels
Milestone

Comments

@Wolfiwolf
Copy link

Proposal Details

It would be amazing if you could have something like static in C. In current state the private variables are now visible all over the package, but it would be nice to have a way to have a file private variable or function.

@gopherbot gopherbot added this to the Proposal milestone Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants