1
0
mirror of https://github.com/golang/go synced 2024-10-03 00:11:22 -06:00
go/src
Terin Stock 01c144c410 net/http/pprof: attach handlers using http.HandleFunc
Simplify how pprof attaches the handlers to the DefaultMux by using
http.HandleFunc instead of manually wrapping the handlers in
a http.HandlerFunc.

Change-Id: I65db262ebb2e29e4b6f30df9d2688f5daf782c29
Reviewed-on: https://go-review.googlesource.com/71251
Reviewed-by: Sam Whited <sam@samwhited.com>
Reviewed-by: Tom Bergan <tombergan@google.com>
Run-TryBot: Sam Whited <sam@samwhited.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-10-30 18:46:16 +00:00
..
archive archive/zip: restrict UTF-8 detection for comment and name fields 2017-10-25 22:16:46 +00:00
bufio
builtin
bytes bytes: add examples of Equal and IndexByte 2017-10-16 03:34:28 +00:00
cmd cmd/compile: compiler support for buffered write barrier 2017-10-30 18:12:46 +00:00
compress compress/bzip2: fix checksum mismatch on empty reads 2017-09-25 23:05:58 +00:00
container container/ring: add examples for various Ring functions 2017-10-25 13:34:06 +00:00
context context: fix references to "d" in WithDeadline docs 2017-09-21 03:00:51 +00:00
crypto crypto/{ecdsa,rsa}: rename argument to PrivateKey.Sign. 2017-10-29 19:45:11 +00:00
database/sql database/sql: scan into *time.Time without reflection 2017-10-25 19:29:16 +00:00
debug debug/dwarf: clarify StructField.ByteSize doc 2017-10-18 21:45:30 +00:00
encoding encoding/csv: forbid certain Comma and Comment runes 2017-10-25 01:43:46 +00:00
errors
expvar expvar: make (*Map).Init clear existing keys 2017-09-11 21:31:51 +00:00
flag flag: simplify switch-case in isZeroValue 2017-10-17 20:23:14 +00:00
fmt fmt: clarify wording of * flag 2017-10-15 06:03:34 +00:00
go go/types: improved documentation for WriteExpr and ExprString 2017-10-23 18:10:06 +00:00
hash
html all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
image image/draw, image/color: optimize hot path sqDiff function 2017-10-27 05:47:09 +00:00
index/suffixarray
internal os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
io io: flatten MultiWriter writers 2017-10-25 21:48:50 +00:00
log log: Remove unnecessary else 2017-10-25 05:02:37 +00:00
math math/big: add (*Float).Sqrt 2017-10-26 17:29:27 +00:00
mime mime/multipart: permit empty file name 2017-10-24 20:21:03 +00:00
net net/http/pprof: attach handlers using http.HandleFunc 2017-10-30 18:46:16 +00:00
os os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
path all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
plugin cmd/link, plugin: always encode path 2017-10-26 15:08:37 +00:00
reflect reflect: allow Copy to a byte array or byte slice from a string 2017-10-13 02:35:56 +00:00
regexp all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
runtime runtime: use buffered write barrier for bulkBarrierPreWrite 2017-10-30 18:12:54 +00:00
sort sort: split post-Go1.4 code into its own file 2017-10-27 16:01:43 +00:00
strconv unicode: update to Unicode 10.0.0 2017-10-24 12:42:35 +00:00
strings strings: improve readability of IndexAny and LastIndexAny functions. 2017-09-25 18:23:11 +00:00
sync sync/atomic: add memory barriers to Load/StoreInt32 on darwin/arm 2017-10-02 09:57:23 +00:00
syscall syscall: document Time{spec,val} methods 2017-10-27 07:18:47 +00:00
testing testing/iotest: fix NewReadLogger documentation typo 2017-10-19 15:59:21 +00:00
text text/template: add break, continue actions in ranges 2017-10-17 02:06:15 +00:00
time all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
unicode unicode: update to Unicode 10.0.0 2017-10-24 12:42:35 +00:00
unsafe all: remove some double spaces from comments 2017-08-26 15:09:09 +00:00
vendor/golang_org/x vendor/golang_org/x/net/route: refresh from upstream 2017-10-26 20:20:52 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash misc/ios,src/iostest.bash: support GOIOS_DEVICE_ID 2017-08-28 16:37:25 +00:00
make.bash build: move final steps of make.bash, make.bat, make.rc into cmd/dist 2017-10-25 01:13:01 +00:00
make.bat build: move final steps of make.bash, make.bat, make.rc into cmd/dist 2017-10-25 01:13:01 +00:00
Make.dist
make.rc build: move final steps of make.bash, make.bat, make.rc into cmd/dist 2017-10-25 01:13:01 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc