1
0
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:
Rob Pike 2009-10-21 19:52:11 -07:00
parent a8a678fc2a
commit c6e904d580
4 changed files with 1 additions and 0 deletions

BIN
doc/GoCourseDay1.pdf Normal file

Binary file not shown.

BIN
doc/GoCourseDay2.pdf Normal file

Binary file not shown.

BIN
doc/GoCourseDay3.pdf Normal file

Binary file not shown.

View File

@ -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",
} }