You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to embed a python code into my application.
It didn't work. After some investigation on my side, I've realised that go:embed directive does not embed (rather important) __init__.py file.
Is it any exception? And if so, should it be this way?
What did you expect to see?
everything should work as expected
What did you see instead?
unable to access file.
The text was updated successfully, but these errors were encountered:
If a pattern begins with the prefix ‘all:’, then the rule for walking directories is changed to include those files beginning with ‘.’ or ‘_’. For example, ‘all:image’ embeds both ‘image/.tempfile’ and ‘image/dir/.tempfile’.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
deffinitly
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I need to embed a python code into my application.
It didn't work. After some investigation on my side, I've realised that go:embed directive does not embed (rather important)
__init__.py
file.Is it any exception? And if so, should it be this way?
What did you expect to see?
everything should work as expected
What did you see instead?
unable to access file.
The text was updated successfully, but these errors were encountered: