SYMBOL INDEX (116 symbols across 38 files) FILE: code/chapter08/result/chapter08/tar.go function main (line 10) | func main() { function ScanDir (line 32) | func ScanDir(tw *tar.Writer, root, dirName string) error { FILE: code/chapter08/result/src/chapter01/io/byterwer.go function ByteRWerExample (line 9) | func ByteRWerExample() { FILE: code/chapter08/result/src/chapter01/io/main.go function main (line 8) | func main() { function MainMenu (line 13) | func MainMenu() { FILE: code/chapter08/result/src/chapter01/io/reader.go function ReaderExample (line 12) | func ReaderExample() { function ReadFrom (line 58) | func ReadFrom(reader io.Reader, num int) ([]byte, error) { function readerMenu (line 67) | func readerMenu() { FILE: code/chapter08/result/src/chapter06/filepath/walk/main.go function main (line 9) | func main() { FILE: code/chapter08/result/src/chapter06/os/dirtree/main.go function main (line 10) | func main() { function ReadAndOutputDir (line 14) | func ReadAndOutputDir(rootPath string, deep int) { FILE: code/chapter08/result/src/chapter09/benchmark_result.go function main (line 10) | func main() { FILE: code/chapter08/result/src/chapter09/httptest/data.go type Topic (line 11) | type Topic struct method Create (line 26) | func (t *Topic) Create() error { method Update (line 33) | func (t *Topic) Update() error { method Delete (line 42) | func (t *Topic) Delete() error { function FindTopic (line 18) | func FindTopic(id int) (*Topic, error) { function checkIndex (line 50) | func checkIndex(id int) error { FILE: code/chapter08/result/src/chapter09/httptest/server.go function main (line 10) | func main() { function handleRequest (line 17) | func handleRequest(w http.ResponseWriter, r *http.Request) { function handleGet (line 37) | func handleGet(w http.ResponseWriter, r *http.Request) error { function handlePost (line 57) | func handlePost(w http.ResponseWriter, r *http.Request) (err error) { function handlePut (line 76) | func handlePut(w http.ResponseWriter, r *http.Request) error { function handleDelete (line 98) | func handleDelete(w http.ResponseWriter, r *http.Request) (err error) { FILE: code/chapter08/result/src/chapter09/httptest/server_test.go function TestMain (line 14) | func TestMain(m *testing.M) { function TestHandlePost (line 22) | func TestHandlePost(t *testing.T) { function TestHandleGet (line 34) | func TestHandleGet(t *testing.T) { FILE: code/chapter08/result/src/chapter09/testing/example_test.go function ExampleFib (line 8) | func ExampleFib() { FILE: code/chapter08/result/src/chapter09/testing/parallel.go function WriteToMap (line 10) | func WriteToMap(k, v string) { function ReadFromMap (line 16) | func ReadFromMap(k string) string { FILE: code/chapter08/result/src/chapter09/testing/parallel_test.go function TestWriteToMap (line 32) | func TestWriteToMap(t *testing.T) { function TestReadFromMap (line 39) | func TestReadFromMap(t *testing.T) { function BenchmarkTemplateParallel (line 49) | func BenchmarkTemplateParallel(b *testing.B) { FILE: code/chapter08/result/src/chapter09/testing/server_test.go function TestTime (line 9) | func TestTime(t *testing.T) { FILE: code/chapter08/result/src/chapter09/testing/t.go function Fib (line 3) | func Fib(n int) int { FILE: code/chapter08/result/src/chapter09/testing/t_test.go function TestFib_TableDrivenParallel (line 13) | func TestFib_TableDrivenParallel(t *testing.T) { function TestFib (line 54) | func TestFib(t *testing.T) { function TestFib_TableDriven (line 66) | func TestFib_TableDriven(t *testing.T) { function BenchmarkFib1 (line 88) | func BenchmarkFib1(b *testing.B) { benchmarkFib(1, b) } function BenchmarkFib2 (line 89) | func BenchmarkFib2(b *testing.B) { benchmarkFib(2, b) } function BenchmarkFib3 (line 90) | func BenchmarkFib3(b *testing.B) { benchmarkFib(3, b) } function BenchmarkFib10 (line 91) | func BenchmarkFib10(b *testing.B) { benchmarkFib(10, b) } function BenchmarkFib20 (line 92) | func BenchmarkFib20(b *testing.B) { benchmarkFib(20, b) } function BenchmarkFib40 (line 93) | func BenchmarkFib40(b *testing.B) { benchmarkFib(40, b) } function benchmarkFib (line 95) | func benchmarkFib(i int, b *testing.B) { function BenchmarkTmplExucte (line 101) | func BenchmarkTmplExucte(b *testing.B) { FILE: code/chapter08/result/src/chapter10/os_exec.go function main (line 11) | func main() { function mainOutput (line 26) | func mainOutput(out []byte, err error) { function FillStd (line 35) | func FillStd(name string, arg ...string) ([]byte, error) { function UseOutput (line 50) | func UseOutput(name string, arg ...string) ([]byte, error) { function UsePipe (line 55) | func UsePipe(name string, arg ...string) ([]byte, error) { FILE: code/chapter08/result/src/chapter13/flag/nginx.go function init (line 23) | func init() { function main (line 45) | func main() { function usage (line 53) | func usage() { FILE: code/chapter08/result/src/util/util.go function GetProjectRoot (line 18) | func GetProjectRoot() string { function executableDir (line 27) | func executableDir() (string, error) { function Welcome (line 35) | func Welcome() { function Utf8Index (line 43) | func Utf8Index(str, substr string) int { FILE: code/chapter08/tar.go function main (line 10) | func main() { function ScanDir (line 32) | func ScanDir(tw *tar.Writer, root, dirName string) error { FILE: code/src/chapter01/io/byterwer.go function ByteRWerExample (line 9) | func ByteRWerExample() { FILE: code/src/chapter01/io/main.go function main (line 8) | func main() { function MainMenu (line 13) | func MainMenu() { FILE: code/src/chapter01/io/reader.go function ReaderExample (line 12) | func ReaderExample() { function ReadFrom (line 58) | func ReadFrom(reader io.Reader, num int) ([]byte, error) { function readerMenu (line 67) | func readerMenu() { FILE: code/src/chapter06/filepath/walk/main.go function main (line 9) | func main() { FILE: code/src/chapter06/os/dirtree/main.go function main (line 10) | func main() { function ReadAndOutputDir (line 14) | func ReadAndOutputDir(rootPath string, deep int) { FILE: code/src/chapter09/benchmark_result.go function main (line 10) | func main() { FILE: code/src/chapter09/httptest/data.go type Topic (line 11) | type Topic struct method Create (line 26) | func (t *Topic) Create() error { method Update (line 33) | func (t *Topic) Update() error { method Delete (line 42) | func (t *Topic) Delete() error { function FindTopic (line 18) | func FindTopic(id int) (*Topic, error) { function checkIndex (line 50) | func checkIndex(id int) error { FILE: code/src/chapter09/httptest/server.go function main (line 10) | func main() { function handleRequest (line 17) | func handleRequest(w http.ResponseWriter, r *http.Request) { function handleGet (line 37) | func handleGet(w http.ResponseWriter, r *http.Request) error { function handlePost (line 57) | func handlePost(w http.ResponseWriter, r *http.Request) (err error) { function handlePut (line 76) | func handlePut(w http.ResponseWriter, r *http.Request) error { function handleDelete (line 98) | func handleDelete(w http.ResponseWriter, r *http.Request) (err error) { FILE: code/src/chapter09/httptest/server_test.go function TestMain (line 14) | func TestMain(m *testing.M) { function TestHandlePost (line 22) | func TestHandlePost(t *testing.T) { function TestHandleGet (line 34) | func TestHandleGet(t *testing.T) { FILE: code/src/chapter09/testing/example_test.go function ExampleFib (line 8) | func ExampleFib() { FILE: code/src/chapter09/testing/parallel.go function WriteToMap (line 10) | func WriteToMap(k, v string) { function ReadFromMap (line 16) | func ReadFromMap(k string) string { FILE: code/src/chapter09/testing/parallel_test.go function TestWriteToMap (line 32) | func TestWriteToMap(t *testing.T) { function TestReadFromMap (line 39) | func TestReadFromMap(t *testing.T) { function BenchmarkTemplateParallel (line 49) | func BenchmarkTemplateParallel(b *testing.B) { FILE: code/src/chapter09/testing/server_test.go function TestTime (line 9) | func TestTime(t *testing.T) { FILE: code/src/chapter09/testing/t.go function Fib (line 3) | func Fib(n int) int { FILE: code/src/chapter09/testing/t_test.go function TestFib_TableDrivenParallel (line 13) | func TestFib_TableDrivenParallel(t *testing.T) { function TestFib (line 54) | func TestFib(t *testing.T) { function TestFib_TableDriven (line 66) | func TestFib_TableDriven(t *testing.T) { function BenchmarkFib1 (line 88) | func BenchmarkFib1(b *testing.B) { benchmarkFib(1, b) } function BenchmarkFib2 (line 89) | func BenchmarkFib2(b *testing.B) { benchmarkFib(2, b) } function BenchmarkFib3 (line 90) | func BenchmarkFib3(b *testing.B) { benchmarkFib(3, b) } function BenchmarkFib10 (line 91) | func BenchmarkFib10(b *testing.B) { benchmarkFib(10, b) } function BenchmarkFib20 (line 92) | func BenchmarkFib20(b *testing.B) { benchmarkFib(20, b) } function BenchmarkFib40 (line 93) | func BenchmarkFib40(b *testing.B) { benchmarkFib(40, b) } function benchmarkFib (line 95) | func benchmarkFib(i int, b *testing.B) { function BenchmarkTmplExucte (line 101) | func BenchmarkTmplExucte(b *testing.B) { FILE: code/src/chapter10/os_exec.go function main (line 11) | func main() { function mainOutput (line 26) | func mainOutput(out []byte, err error) { function FillStd (line 35) | func FillStd(name string, arg ...string) ([]byte, error) { function UseOutput (line 50) | func UseOutput(name string, arg ...string) ([]byte, error) { function UsePipe (line 55) | func UsePipe(name string, arg ...string) ([]byte, error) { FILE: code/src/chapter13/flag/nginx.go function init (line 23) | func init() { function main (line 45) | func main() { function usage (line 53) | func usage() { FILE: code/src/util/util.go function GetProjectRoot (line 18) | func GetProjectRoot() string { function executableDir (line 27) | func executableDir() (string, error) { function Welcome (line 35) | func Welcome() { function Utf8Index (line 43) | func Utf8Index(str, substr string) int {