SYMBOL INDEX (300 symbols across 75 files) FILE: go/benchmark/basic_test.go function BenchmarkSprintBasic (line 34) | func BenchmarkSprintBasic(b *testing.B) { function BenchmarkSprintfBasic (line 45) | func BenchmarkSprintfBasic(b *testing.B) { FILE: go/benchmark/sub_test.go function BenchmarkSprintSub (line 22) | func BenchmarkSprintSub(b *testing.B) { function benchSprint (line 28) | func benchSprint(b *testing.B) { function benchSprintf (line 39) | func benchSprintf(b *testing.B) { FILE: go/concurrency/channel_1.go function main (line 95) | func main() { function basicSendRecv (line 113) | func basicSendRecv() { function signalClose (line 136) | func signalClose() { FILE: go/concurrency/channel_2.go function main (line 13) | func main() { function signalAck (line 34) | func signalAck() { function closeRange (line 52) | func closeRange() { function selectRecv (line 80) | func selectRecv() { function selectSend (line 122) | func selectSend() { function selectDrop (line 155) | func selectDrop() { FILE: go/concurrency/channel_3.go function init (line 18) | func init() { function main (line 22) | func main() { function player (line 54) | func player(name string, court chan int) { FILE: go/concurrency/channel_4.go function main (line 20) | func main() { function Runner (line 44) | func Runner(track chan int) { FILE: go/concurrency/channel_5.go type result (line 28) | type result struct function init (line 34) | func init() { function main (line 38) | func main() { function insertUser (line 83) | func insertUser(id int) result { function insertTrans (line 98) | func insertTrans(id int) result { FILE: go/concurrency/channel_6.go constant timeoutSeconds (line 19) | timeoutSeconds = 3 * time.Second function main (line 41) | func main() { function processor (line 112) | func processor(complete chan<- error) { function doWork (line 148) | func doWork() error { function checkShutdown (line 170) | func checkShutdown() bool { FILE: go/concurrency/context_1.go type user (line 15) | type user struct type userKey (line 26) | type userKey function main (line 28) | func main() { FILE: go/concurrency/context_2.go function main (line 15) | func main() { FILE: go/concurrency/context_3.go type data (line 13) | type data struct function main (line 17) | func main() { FILE: go/concurrency/context_4.go type data (line 13) | type data struct function main (line 17) | func main() { FILE: go/concurrency/context_5.go function main (line 20) | func main() { FILE: go/concurrency/data_race_1.go function main (line 42) | func main() { FILE: go/concurrency/data_race_2.go function main (line 19) | func main() { FILE: go/concurrency/data_race_3.go function main (line 36) | func main() { FILE: go/concurrency/data_race_4.go function init (line 35) | func init() { function main (line 39) | func main() { function writer (line 68) | func writer(i int) { function reader (line 86) | func reader(id int) { FILE: go/concurrency/goroutine_1.go function main (line 240) | func main() { FILE: go/concurrency/goroutine_2.go function init (line 21) | func init() { function main (line 26) | func main() { function lowercase (line 80) | func lowercase() { function uppercase (line 90) | func uppercase() { FILE: go/concurrency/goroutine_3.go function init (line 21) | func init() { function main (line 26) | func main() { function printPrime (line 57) | func printPrime(prefix string) { FILE: go/concurrency/goroutine_4.go function init (line 22) | func init() { function main (line 27) | func main() { FILE: go/design/conversion_1.go type Mover (line 10) | type Mover interface type Locker (line 15) | type Locker interface type MoveLocker (line 21) | type MoveLocker interface type bike (line 27) | type bike struct method Move (line 30) | func (bike) Move() { method Lock (line 35) | func (bike) Lock() { method Unlock (line 40) | func (bike) Unlock() { function main (line 44) | func main() { FILE: go/design/conversion_2.go type car (line 14) | type car struct method String (line 17) | func (car) String() string { type cloud (line 22) | type cloud struct method String (line 25) | func (cloud) String() string { function main (line 29) | func main() { FILE: go/design/decoupling_1.go function init (line 55) | func init() { type Data (line 61) | type Data struct type Xenia (line 66) | type Xenia struct method Pull (line 76) | func (*Xenia) Pull(d *Data) error { type Pillar (line 92) | type Pillar struct method Store (line 99) | func (*Pillar) Store(d *Data) error { type System (line 110) | type System struct function pull (line 123) | func pull(x *Xenia, data []Data) (int, error) { function store (line 139) | func store(p *Pillar, data []Data) (int, error) { function Copy (line 151) | func Copy(sys *System, batch int) error { function main (line 168) | func main() { FILE: go/design/decoupling_2.go function init (line 43) | func init() { type Data (line 48) | type Data struct type Puller (line 53) | type Puller interface type Storer (line 58) | type Storer interface type Xenia (line 63) | type Xenia struct method Pull (line 69) | func (*Xenia) Pull(d *Data) error { type Pillar (line 85) | type Pillar struct method Store (line 91) | func (*Pillar) Store(d *Data) error { type System (line 97) | type System struct function pull (line 103) | func pull(p Puller, data []Data) (int, error) { function store (line 114) | func store(s Storer, data []Data) (int, error) { function Copy (line 125) | func Copy(sys *System, batch int) error { function main (line 142) | func main() { FILE: go/design/decoupling_3.go function init (line 76) | func init() { type Data (line 81) | type Data struct type Puller (line 86) | type Puller interface type Storer (line 91) | type Storer interface type PullStorer (line 96) | type PullStorer interface type Xenia (line 102) | type Xenia struct method Pull (line 108) | func (*Xenia) Pull(d *Data) error { type Pillar (line 124) | type Pillar struct method Store (line 130) | func (*Pillar) Store(d *Data) error { type System (line 136) | type System struct function pull (line 142) | func pull(p Puller, data []Data) (int, error) { function store (line 153) | func store(s Storer, data []Data) (int, error) { function Copy (line 164) | func Copy(ps PullStorer, batch int) error { function main (line 181) | func main() { FILE: go/design/decoupling_4.go function init (line 62) | func init() { type Data (line 67) | type Data struct type Puller (line 72) | type Puller interface type Storer (line 77) | type Storer interface type PullStorer (line 82) | type PullStorer interface type Xenia (line 88) | type Xenia struct method Pull (line 94) | func (*Xenia) Pull(d *Data) error { type Pillar (line 110) | type Pillar struct method Store (line 116) | func (*Pillar) Store(d *Data) error { type System (line 122) | type System struct function pull (line 128) | func pull(p Puller, data []Data) (int, error) { function store (line 139) | func store(s Storer, data []Data) (int, error) { function Copy (line 150) | func Copy(ps PullStorer, batch int) error { function main (line 167) | func main() { FILE: go/design/error_1.go type error (line 23) | type error interface type errorString (line 32) | type errorString struct method Error (line 40) | func (e *errorString) Error() string { function New (line 56) | func New(text string) error { function main (line 60) | func main() { function webCall (line 77) | func webCall() error { FILE: go/design/error_2.go function main (line 30) | func main() { function webCall (line 51) | func webCall(b bool) error { FILE: go/design/error_3.go type UnmarshalTypeError (line 25) | type UnmarshalTypeError struct method Error (line 35) | func (e *UnmarshalTypeError) Error() string { type InvalidUnmarshalError (line 42) | type InvalidUnmarshalError struct method Error (line 47) | func (e *InvalidUnmarshalError) Error() string { type user (line 59) | type user struct function main (line 63) | func main() { function Unmarshal (line 89) | func Unmarshal(data []byte, v interface{}) error { FILE: go/design/error_4.go type client (line 19) | type client struct method TypeAsContext (line 26) | func (c *client) TypeAsContext() { method BehaviorAsContext (line 82) | func (c *client) BehaviorAsContext() { type temporary (line 76) | type temporary interface FILE: go/design/error_5.go type customError (line 10) | type customError struct method Error (line 13) | func (c *customError) Error() string { function fail (line 18) | func fail() ([]byte, *customError) { function main (line 22) | func main() { FILE: go/design/error_6.go type AppError (line 28) | type AppError struct method Error (line 33) | func (c *AppError) Error() string { function main (line 37) | func main() { function firstCall (line 81) | func firstCall(i int) error { function secondCall (line 89) | func secondCall(i int) error { function thirdCall (line 97) | func thirdCall() error { FILE: go/design/grouping_types_1.go type Animal (line 15) | type Animal struct method Speak (line 23) | func (a *Animal) Speak() { type Dog (line 31) | type Dog struct method Speak (line 37) | func (d *Dog) Speak() { type Cat (line 45) | type Cat struct method Speak (line 51) | func (c *Cat) Speak() { function main (line 58) | func main() { FILE: go/design/grouping_types_2.go type Speaker (line 24) | type Speaker interface type Dog (line 29) | type Dog struct method Speak (line 37) | func (d Dog) Speak() { type Cat (line 47) | type Cat struct method Speak (line 55) | func (c Cat) Speak() { function main (line 62) | func main() { FILE: go/design/mocking_1.go type PubSub (line 41) | type PubSub struct method Publish (line 58) | func (ps *PubSub) Publish(key string, v interface{}) error { method Subscribe (line 65) | func (ps *PubSub) Subscribe(key string) error { function New (line 47) | func New(host string) *PubSub { FILE: go/design/mocking_2.go type publisher (line 19) | type publisher interface type mock (line 25) | type mock struct method Publish (line 28) | func (m *mock) Publish(key string, v interface{}) error { method Subscribe (line 35) | func (m *mock) Subscribe(key string) error { function main (line 41) | func main() { FILE: go/design/pollution_1.go type Server (line 26) | type Server interface type server (line 34) | type server struct method Start (line 51) | func (s *server) Start() error { method Stop (line 57) | func (s *server) Stop() error { method Wait (line 63) | func (s *server) Wait() error { function NewServer (line 45) | func NewServer(host string) Server { function main (line 68) | func main() { FILE: go/design/pollution_2.go type Server (line 10) | type Server struct method Start (line 21) | func (s *Server) Start() error { method Stop (line 27) | func (s *Server) Stop() error { method Wait (line 33) | func (s *Server) Wait() error { function NewServer (line 16) | func NewServer(host string) *Server { function main (line 38) | func main() { FILE: go/language/array.go function main (line 70) | func main() { FILE: go/language/constant.go function main (line 10) | func main() { FILE: go/language/embedding_1.go type user (line 10) | type user struct method notify (line 17) | func (u *user) notify() { type admin (line 24) | type admin struct function main (line 29) | func main() { FILE: go/language/embedding_2.go type user (line 10) | type user struct method notify (line 16) | func (u *user) notify() { type admin (line 33) | type admin struct function main (line 38) | func main() { FILE: go/language/embedding_3.go type notifier (line 10) | type notifier interface type user (line 15) | type user struct method notify (line 21) | func (u *user) notify() { type admin (line 26) | type admin struct function main (line 31) | func main() { function sendNotification (line 57) | func sendNotification(n notifier) { FILE: go/language/embedding_4.go type notifier (line 10) | type notifier interface type user (line 15) | type user struct method notify (line 21) | func (u *user) notify() { type admin (line 26) | type admin struct method notify (line 36) | func (a *admin) notify() { function main (line 40) | func main() { function sendNotification (line 63) | func sendNotification(n notifier) { FILE: go/language/exporting/exporting_1/counters/counters.go type AlertCounter (line 6) | type AlertCounter type alertCounter (line 11) | type alertCounter FILE: go/language/exporting/exporting_1/exporting_1.go function main (line 14) | func main() { FILE: go/language/exporting/exporting_2/counters/counters.go type alertCounter (line 5) | type alertCounter function New (line 10) | func New(value int) alertCounter { FILE: go/language/exporting/exporting_2/exporting_2.go function main (line 13) | func main() { FILE: go/language/exporting/exporting_3/exporting_3.go function main (line 13) | func main() { FILE: go/language/exporting/exporting_3/users/users.go type User (line 6) | type User struct FILE: go/language/exporting/exporting_4/exporting_4.go function main (line 13) | func main() { FILE: go/language/exporting/exporting_4/users/users.go type user (line 6) | type user struct type Manager (line 13) | type Manager struct FILE: go/language/function.go type user (line 10) | type user struct type updateStats (line 16) | type updateStats struct function main (line 23) | func main() { function retrieveUser (line 49) | func retrieveUser(name string) (*user, error) { function getUser (line 72) | func getUser(name string) (string, error) { function updateUser (line 78) | func updateUser(u *user) (*updateStats, error) { FILE: go/language/interface_1.go type reader (line 15) | type reader interface type file (line 47) | type file struct method read (line 52) | func (file) read(b []byte) (int, error) { type pipe (line 62) | type pipe struct method read (line 67) | func (pipe) read(b []byte) (int, error) { function main (line 73) | func main() { function retrieve (line 146) | func retrieve(r reader) error { FILE: go/language/interface_2.go type notifier (line 6) | type notifier interface type printer (line 11) | type printer interface type user (line 16) | type user struct method print (line 22) | func (u user) print() { method notify (line 31) | func (u *user) notify() { method String (line 39) | func (u *user) String() string { function main (line 43) | func main() { function sendNotification (line 171) | func sendNotification(n notifier) { FILE: go/language/map.go type user (line 6) | type user struct function main (line 11) | func main() { FILE: go/language/method_1.go type user (line 6) | type user struct method notify (line 16) | func (u user) notify() { method changeEmail (line 22) | func (u *user) changeEmail(email string) { function main (line 31) | func main() { FILE: go/language/method_2.go type IP (line 39) | type IP method Mask (line 44) | func (ip IP) Mask(mask IPMask) IP { type IPMask (line 40) | type IPMask function ipEmptyString (line 64) | func ipEmptyString(ip IP) string { type Time (line 77) | type Time struct method Add (line 99) | func (t Time) Add(d Duration) Time { function Now (line 88) | func Now() Time { function Open (line 133) | func Open(name string) (file *File, err error) { method Chdir (line 138) | func (f *File) Chdir() error { function epipecheck (line 149) | func epipecheck(file *File, e error) { FILE: go/language/method_3.go type data (line 12) | type data struct method displayName (line 19) | func (d data) displayName() { method setAge (line 25) | func (d *data) setAge(age int) { function main (line 30) | func main() { FILE: go/language/pointer.go type user (line 33) | type user struct function main (line 38) | func main() { function increment1 (line 71) | func increment1(inc int) { function increment2 (line 81) | func increment2(inc *int) { function stayOnStack (line 91) | func stayOnStack() user { function escapeToHeap (line 134) | func escapeToHeap() *user { FILE: go/language/slice.go function main (line 11) | func main() { function inspectSlice (line 283) | func inspectSlice(slice []string) { FILE: go/language/struct.go type example (line 6) | type example struct function main (line 12) | func main() { FILE: go/language/variable.go function main (line 5) | func main() { FILE: go/profiling/memory_tracing.go function main (line 63) | func main() { FILE: go/profiling/stack_trace_1.go function main (line 9) | func main() { function example (line 17) | func example(slice []string, str string, i int) { FILE: go/profiling/stack_trace_2.go function main (line 9) | func main() { function example (line 14) | func example(b1, b2, b3 bool, i uint8) { FILE: go/testing/basic_test.go constant succeed (line 29) | succeed = "\u2713" constant failed (line 30) | failed = "\u2717" function TestBasic (line 54) | func TestBasic(t *testing.T) { FILE: go/testing/sub_test.go constant succeed (line 16) | succeed = "\u2713" constant failed (line 17) | failed = "\u2717" function TestSub (line 22) | func TestSub(t *testing.T) { function TestParallelize (line 67) | func TestParallelize(t *testing.T) { FILE: go/testing/table_test.go constant succeed (line 18) | succeed = "\u2713" constant failed (line 19) | failed = "\u2717" function TestTable (line 24) | func TestTable(t *testing.T) { FILE: go/testing/web_server/handlers/handlers.go function Routes (line 12) | func Routes() { function SendJSON (line 20) | func SendJSON(rw http.ResponseWriter, r *http.Request) { FILE: go/testing/web_server/handlers/handlers_example_test.go function ExampleSendJSON (line 33) | func ExampleSendJSON() { FILE: go/testing/web_server/handlers/handlers_test.go constant succeed (line 24) | succeed = "\u2713" constant failed (line 25) | failed = "\u2717" function init (line 29) | func init() { function TestSendJSON (line 37) | func TestSendJSON(t *testing.T) { FILE: go/testing/web_server/server.go function main (line 18) | func main() { FILE: go/testing/web_test.go constant succeed (line 25) | succeed = "\u2713" constant failed (line 26) | failed = "\u2717" type Item (line 47) | type Item struct type Channel (line 55) | type Channel struct type Document (line 65) | type Document struct function mockServer (line 87) | func mockServer() *httptest.Server { function TestWeb (line 99) | func TestWeb(t *testing.T) {