mirror of
https://github.com/golang/go
synced 2024-11-21 17:44:40 -07:00
have http server in-line PDF files.
add go course pdf files to doc/ for godoc to serve. fix links to point to those files. R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=35972 CL=35981
This commit is contained in:
parent
a8a678fc2a
commit
c6e904d580
BIN
doc/GoCourseDay1.pdf
Normal file
BIN
doc/GoCourseDay1.pdf
Normal file
Binary file not shown.
BIN
doc/GoCourseDay2.pdf
Normal file
BIN
doc/GoCourseDay2.pdf
Normal file
Binary file not shown.
BIN
doc/GoCourseDay3.pdf
Normal file
BIN
doc/GoCourseDay3.pdf
Normal file
Binary file not shown.
@ -22,6 +22,7 @@ var contentByExt = map[string] string {
|
|||||||
".html": "text/html; charset=utf-8",
|
".html": "text/html; charset=utf-8",
|
||||||
".jpg": "image/jpeg",
|
".jpg": "image/jpeg",
|
||||||
".js": "application/x-javascript",
|
".js": "application/x-javascript",
|
||||||
|
".pdf": "application/pdf",
|
||||||
".png": "image/png",
|
".png": "image/png",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user