We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current implementation of embed.file just returns zero time.
func (f *file) ModTime() time.Time { return time.Time{} }
The http file server does not set the http header 'Date', if file's ModTime is zero.
http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.FS(content))))
Is it possible to set the local file's real modification time to the embed file at compile time?
The text was updated successfully, but these errors were encountered:
See #44854 (comment).
Sorry, something went wrong.
Duplicate of #44854
No branches or pull requests
The current implementation of embed.file just returns zero time.
The http file server does not set the http header 'Date', if file's ModTime is zero.
Is it possible to set the local file's real modification time to the embed file at compile time?
The text was updated successfully, but these errors were encountered: