commit | a1f3609ec9087c490cd03f4b6a8e825095ae66d7 | [log] [tgz] |
---|---|---|
author | Sameer Ajmani <sameer@golang.org> | Tue Jul 29 14:21:02 2014 -0400 |
committer | Sameer Ajmani <sameer@golang.org> | Tue Jul 29 14:21:02 2014 -0400 |
tree | 836586d241e9d72edfab65ae0c5d312abf45c0b5 | |
parent | 8734c4524d5a73dd129a0a416ef87902ca28d750 [diff] |
go.net/context: define an emptyCtx type for Background and TODO. This is the first step in splitting the various context implementations into smaller types. Add a test that creates a large, random stack of Contexts and tests that they work properly. LGTM=crawshaw R=crawshaw CC=golang-codereviews https://golang.org/cl/115350044