-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix go-get content type #3426
Fix go-get content type #3426
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3426 +/- ##
==========================================
- Coverage 35.65% 35.59% -0.06%
==========================================
Files 281 281
Lines 40591 40593 +2
==========================================
- Hits 14471 14451 -20
- Misses 23981 24001 +20
- Partials 2139 2141 +2
Continue to review full report at Codecov.
|
LGTM |
c.PlainText(http.StatusOK, []byte(com.Expand(`<!doctype html> | ||
c.Header().Set("Content-Type", "text/html") | ||
c.WriteHeader(http.StatusOK) | ||
c.Write([]byte(com.Expand(`<!doctype html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should really be moved to a template instead 😂
As title to finally fix godoc support, forgotten commit for #3423