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

x/pkgsite: why non-struct variable cannot support annotate? #52484

Closed
iiimapidan opened this issue Apr 22, 2022 · 1 comment
Closed

x/pkgsite: why non-struct variable cannot support annotate? #52484

iiimapidan opened this issue Apr 22, 2022 · 1 comment

Comments

@iiimapidan
Copy link

iiimapidan commented Apr 22, 2022

when I use embed for complier static resource into go binary ,i found i need use comment to implement it. It seems not be readability.

What is the URL of the page with the issue?

What is your user agent?

Screenshot

image

image

What did you do?

What did you expect to see?

why non-struct variable cannot support annotate?

What did you see instead?

@gopherbot gopherbot added this to the pkgsite/unplanned milestone Apr 22, 2022
@seankhliao
Copy link
Member

seankhliao commented Apr 22, 2022

that would require a language change, not just compiler support.

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For questions please refer to https://github.com/golang/go/wiki/Questions

@golang golang locked and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants