SYMBOL INDEX (2735 symbols across 965 files) FILE: 01_getting-started/01_helloWorld/main.go function main (line 5) | func main() { FILE: 01_getting-started/02_numeral-systems/01_decimal/main.go function main (line 5) | func main() { FILE: 01_getting-started/02_numeral-systems/02_binary/main.go function main (line 5) | func main() { FILE: 01_getting-started/02_numeral-systems/03_hexadecimal/main.go function main (line 5) | func main() { FILE: 01_getting-started/02_numeral-systems/04_loop/main.go function main (line 5) | func main() { FILE: 01_getting-started/03_UTF-8/main.go function main (line 5) | func main() { FILE: 02_package/main/main.go function main (line 10) | func main() { FILE: 02_package/stringutil/reverse.go function Reverse (line 5) | func Reverse(s string) string { FILE: 02_package/stringutil/reverseTwo.go function reverseTwo (line 3) | func reverseTwo(s string) string { FILE: 03_variables/01_shorthand/01/main.go function main (line 5) | func main() { FILE: 03_variables/01_shorthand/02/main.go function main (line 5) | func main() { FILE: 03_variables/02_var_zero-value/main.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/01_declare-variable/var.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/02_declare-many-at-once/var.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/03_init-many-at-once/var.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/04_infer-type/var.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/05_infer-mixed-up-types/var.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/06_init-shorthand/var.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/07_all-together/variables.go function main (line 9) | func main() { FILE: 03_variables/03_less-emphasis/08_exercise_your-name/01_oneSolution/myNameVar.go function main (line 7) | func main() { FILE: 03_variables/03_less-emphasis/08_exercise_your-name/02_anotherSolution/myNameVar.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/08_exercise_your-name/03_anotherSolution/myNameVar.go function main (line 5) | func main() { FILE: 03_variables/03_less-emphasis/08_exercise_your-name/04_anotherSolution/myNameVar.go function main (line 5) | func main() { FILE: 04_scope/01_package-scope/01/main.go function main (line 7) | func main() { function foo (line 12) | func foo() { FILE: 04_scope/01_package-scope/02_visibility/main/main.go function main (line 8) | func main() { FILE: 04_scope/01_package-scope/02_visibility/vis/printer.go function PrintVar (line 6) | func PrintVar() { FILE: 04_scope/02_block-scope/01_this-does-not-compile/main.go function main (line 5) | func main() { function foo (line 11) | func foo() { FILE: 04_scope/02_block-scope/02_closure/01/main.go function main (line 5) | func main() { FILE: 04_scope/02_block-scope/02_closure/02/main.go function increment (line 7) | func increment() int { function main (line 12) | func main() { FILE: 04_scope/02_block-scope/02_closure/03/main.go function main (line 5) | func main() { FILE: 04_scope/02_block-scope/02_closure/04/main.go function wrapper (line 5) | func wrapper() func() int { function main (line 13) | func main() { FILE: 04_scope/03_order-matters/main.go function main (line 5) | func main() { FILE: 04_scope/04_variable-shadowing/main.go function max (line 5) | func max(x int) int { function main (line 9) | func main() { FILE: 04_scope/05_same-package/main.go function main (line 5) | func main() { FILE: 05_blank-identifier/01_invalid-code/main.go function main (line 5) | func main() { FILE: 05_blank-identifier/02_http-get_example/01_with-error-checking/main.go function main (line 10) | func main() { FILE: 05_blank-identifier/02_http-get_example/02_no-error-checking/main.go function main (line 9) | func main() { FILE: 06_constants/01_constant/main.go constant p (line 5) | p = "death & taxes" function main (line 7) | func main() { FILE: 06_constants/02_multiple-initialization/main.go constant pi (line 6) | pi = 3.14 constant language (line 7) | language = "Go" function main (line 10) | func main() { FILE: 06_constants/03_iota/main.go constant a (line 6) | a = iota constant b (line 7) | b = iota constant c (line 8) | c = iota function main (line 11) | func main() { FILE: 06_constants/04_iota/main.go constant a (line 6) | a = iota constant b (line 7) | b constant c (line 8) | c function main (line 11) | func main() { FILE: 06_constants/05_iota/main.go constant a (line 6) | a = iota constant b (line 7) | b constant c (line 8) | c constant d (line 12) | d = iota constant e (line 13) | e constant f (line 14) | f function main (line 17) | func main() { FILE: 06_constants/06_iota/main.go constant _ (line 6) | _ = iota constant b (line 7) | b = iota * 10 constant c (line 8) | c = iota * 10 function main (line 11) | func main() { FILE: 06_constants/07_iota/main.go constant _ (line 6) | _ = iota constant KB (line 7) | KB = 1 << (iota * 10) constant MB (line 8) | MB = 1 << (iota * 10) constant GB (line 9) | GB = 1 << (iota * 10) constant TB (line 10) | TB = 1 << (iota * 10) function main (line 13) | func main() { FILE: 07_memory-address/01_showing-address/main.go function main (line 5) | func main() { FILE: 07_memory-address/02_using-address/main.go constant metersToYards (line 5) | metersToYards float64 = 1.09361 function main (line 7) | func main() { FILE: 08_pointers/01_referencing/main.go function main (line 7) | func main() { FILE: 08_pointers/02_dereferencing/main.go function main (line 5) | func main() { FILE: 08_pointers/03_using-pointers/main.go function main (line 5) | func main() { FILE: 08_pointers/04_using-pointers/01_no-pointer/01/main.go function zero (line 5) | func zero(z int) { function main (line 9) | func main() { FILE: 08_pointers/04_using-pointers/01_no-pointer/02_see-the-addresses/main.go function zero (line 5) | func zero(z int) { function main (line 11) | func main() { FILE: 08_pointers/04_using-pointers/02_pointer/01/main.go function zero (line 5) | func zero(z *int) { function main (line 9) | func main() { FILE: 08_pointers/04_using-pointers/02_pointer/02_see-the-addresses/main.go function zero (line 5) | func zero(z *int) { function main (line 10) | func main() { FILE: 09_remainder/main.go function main (line 5) | func main() { FILE: 10_for-loop/01_init-condition-post/main.go function main (line 5) | func main() { FILE: 10_for-loop/02_nested/main.go function main (line 5) | func main() { FILE: 10_for-loop/03_for-condition-while-ish/main.go function main (line 5) | func main() { FILE: 10_for-loop/04_for_no-condition/main.go function main (line 5) | func main() { FILE: 10_for-loop/05_for_break/main.go function main (line 5) | func main() { FILE: 10_for-loop/06_for_continue/main.go function main (line 5) | func main() { FILE: 10_for-loop/07_rune-loop_UTF8/01/main.go function main (line 5) | func main() { FILE: 10_for-loop/07_rune-loop_UTF8/02/main.go function main (line 5) | func main() { FILE: 11_switch-statements/01_switch/main.go function main (line 5) | func main() { FILE: 11_switch-statements/02_fallthrough/main.go function main (line 5) | func main() { FILE: 11_switch-statements/03_multiple-evals/main.go function main (line 5) | func main() { FILE: 11_switch-statements/04_no-expression/main.go function main (line 5) | func main() { FILE: 11_switch-statements/05_on-type/type.go type contact (line 9) | type contact struct function SwitchOnType (line 16) | func SwitchOnType(x interface{}) { function main (line 30) | func main() { FILE: 12_if_else-if_else/01_eval-true/main.go function main (line 5) | func main() { FILE: 12_if_else-if_else/02_not-exclamation/main.go function main (line 5) | func main() { FILE: 12_if_else-if_else/03_init-statement/main.go function main (line 5) | func main() { FILE: 12_if_else-if_else/04_init-statement_error_invalid-code/main.go function main (line 5) | func main() { FILE: 12_if_else-if_else/05_if-else/main.go function main (line 5) | func main() { FILE: 12_if_else-if_else/06_if-elseif-else/main.go function main (line 5) | func main() { FILE: 12_if_else-if_else/07_if-elseif-elseif-else/main.go function main (line 5) | func main() { FILE: 12_if_else-if_else/08_divisibleByThree/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/01_hello-world/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/02_hello-NAME/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/03_hello-user-input/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/04_user-enters-numbers/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/05_even-numbers/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/06_fizzBuzz/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/07_threeFive/main.go function main (line 5) | func main() { FILE: 13_exercise-solutions/08_just-fyi/01_benchMark/bm_test.go function BenchmarkHello (line 8) | func BenchmarkHello(b *testing.B) { FILE: 13_exercise-solutions/08_just-fyi/02_benchMark/bm_test.go function BenchmarkHello (line 8) | func BenchmarkHello(b *testing.B) { FILE: 13_exercise-solutions/08_just-fyi/03_utf/main.go function main (line 5) | func main() { FILE: 14_functions/01_main/main.go function main (line 5) | func main() { FILE: 14_functions/02_param-arg/main.go function main (line 5) | func main() { function greet (line 10) | func greet(name string) { FILE: 14_functions/03_two-params/01/main.go function main (line 5) | func main() { function greet (line 9) | func greet(fname string, lname string) { FILE: 14_functions/03_two-params/02/main.go function main (line 5) | func main() { function greet (line 9) | func greet(fname, lname string) { FILE: 14_functions/04_return/main.go function main (line 5) | func main() { function greet (line 9) | func greet(fname, lname string) string { FILE: 14_functions/05_return-naming/main.go function main (line 5) | func main() { function greet (line 9) | func greet(fname string, lname string) (s string) { FILE: 14_functions/06_return-multiple/main.go function main (line 5) | func main() { function greet (line 9) | func greet(fname, lname string) (string, string) { FILE: 14_functions/07_variadic-params/main.go function main (line 5) | func main() { function average (line 10) | func average(sf ...float64) float64 { FILE: 14_functions/08_variadic-args/main.go function main (line 5) | func main() { function average (line 11) | func average(sf ...float64) float64 { FILE: 14_functions/09_slice-param-arg/main.go function main (line 5) | func main() { function average (line 11) | func average(sf []float64) float64 { FILE: 14_functions/10_func-expression/01_before-func-expression/main.go function greeting (line 5) | func greeting() { function main (line 9) | func main() { FILE: 14_functions/10_func-expression/02_func-expression/main.go function main (line 5) | func main() { FILE: 14_functions/10_func-expression/03_func-expression_shows-type/main.go function main (line 5) | func main() { FILE: 14_functions/10_func-expression/04_another-way_func-expression/main.go function makeGreeter (line 5) | func makeGreeter() func() string { function main (line 11) | func main() { FILE: 14_functions/10_func-expression/05_another-way_func-expression_shows-type/main.go function makeGreeter (line 5) | func makeGreeter() func() string { function main (line 11) | func main() { FILE: 14_functions/11_closure/01/main.go function main (line 5) | func main() { FILE: 14_functions/11_closure/02/main.go function increment (line 7) | func increment() int { function main (line 12) | func main() { FILE: 14_functions/11_closure/03/main.go function main (line 5) | func main() { FILE: 14_functions/11_closure/04/main.go function wrapper (line 5) | func wrapper() func() int { function main (line 13) | func main() { FILE: 14_functions/11_closure/05/main.go function wrapper (line 5) | func wrapper() func() int { function main (line 13) | func main() { FILE: 14_functions/12_callbacks/01_print-nums/main.go function visit (line 5) | func visit(numbers []int, callback func(int)) { function main (line 11) | func main() { FILE: 14_functions/12_callbacks/02_filter-nums/main.go function filter (line 5) | func filter(numbers []int, callback func(int) bool) []int { function main (line 15) | func main() { FILE: 14_functions/13_recursion/main.go function factorial (line 5) | func factorial(x int) int { function main (line 12) | func main() { FILE: 14_functions/14_defer/01_no-defer/main.go function hello (line 5) | func hello() { function world (line 9) | func world() { function main (line 13) | func main() { FILE: 14_functions/14_defer/02_with-defer/main.go function hello (line 5) | func hello() { function world (line 9) | func world() { function main (line 13) | func main() { FILE: 14_functions/15_passing-by-value/01_int/main.go function main (line 5) | func main() { function changeMe (line 11) | func changeMe(z int) { FILE: 14_functions/15_passing-by-value/02_int-pointer/main.go function main (line 5) | func main() { function changeMe (line 16) | func changeMe(z *int) { FILE: 14_functions/15_passing-by-value/03_string/main.go function main (line 5) | func main() { function changeMe (line 15) | func changeMe(z string) { FILE: 14_functions/15_passing-by-value/04_string-pointer/main.go function main (line 5) | func main() { function changeMe (line 16) | func changeMe(z *string) { FILE: 14_functions/15_passing-by-value/05_REFERENCE-TYPE/main.go function main (line 5) | func main() { function changeMe (line 11) | func changeMe(z map[string]int) { FILE: 14_functions/15_passing-by-value/06_REFERENCE-TYPE/main.go function main (line 5) | func main() { function changeMe (line 12) | func changeMe(z []string) { FILE: 14_functions/15_passing-by-value/07_struct-pointer/main.go type customer (line 5) | type customer struct function main (line 10) | func main() { function changeMe (line 20) | func changeMe(z *customer) { FILE: 14_functions/16_anon_self-executing/main.go function main (line 5) | func main() { FILE: 15_bool-expressions/01_true-false/main.go function main (line 5) | func main() { FILE: 15_bool-expressions/02_not/main.go function main (line 5) | func main() { FILE: 15_bool-expressions/03_or/main.go function main (line 5) | func main() { FILE: 15_bool-expressions/04_and/main.go function main (line 5) | func main() { FILE: 16_exercise-solutions/01_half/01/main.go function half (line 5) | func half(n int) (int, bool) { function main (line 9) | func main() { FILE: 16_exercise-solutions/01_half/02/main.go function half (line 5) | func half(n int) (float64, bool) { function main (line 9) | func main() { FILE: 16_exercise-solutions/02_func-expression/main.go function main (line 5) | func main() { FILE: 16_exercise-solutions/03_variadic-greatest/main.go function max (line 5) | func max(numbers ...int) int { function main (line 15) | func main() { FILE: 16_exercise-solutions/04_bool-expression/main.go function main (line 5) | func main() { FILE: 16_exercise-solutions/05_params-and-args/main.go function main (line 5) | func main() { function foo (line 13) | func foo(numbers ...int) { FILE: 17_array/01/main.go function main (line 5) | func main() { FILE: 17_array/02/main.go function main (line 5) | func main() { FILE: 17_array/03/main.go function main (line 5) | func main() { FILE: 17_array/04/main.go function main (line 5) | func main() { FILE: 17_array/05/main.go function main (line 5) | func main() { FILE: 18_slice/01_int-slice/main.go function main (line 5) | func main() { FILE: 18_slice/02_int-slice/main.go function main (line 5) | func main() { FILE: 18_slice/03_int-slice/main.go function main (line 5) | func main() { FILE: 18_slice/04_string-slice/main.go function main (line 5) | func main() { FILE: 18_slice/05_slicing-a-slice/01/main.go function main (line 5) | func main() { FILE: 18_slice/05_slicing-a-slice/02/main.go function main (line 5) | func main() { FILE: 18_slice/06_make/main.go function main (line 5) | func main() { FILE: 18_slice/07_append-invalid/main.go function main (line 5) | func main() { FILE: 18_slice/08_append/main.go function main (line 5) | func main() { FILE: 18_slice/09_append-beyond-capacity/main.go function main (line 5) | func main() { FILE: 18_slice/10_append_slice-to-slice/01_slice-of-ints/main.go function main (line 5) | func main() { FILE: 18_slice/10_append_slice-to-slice/02_slice-of-strings/main.go function main (line 5) | func main() { FILE: 18_slice/11_delete/main.go function main (line 5) | func main() { FILE: 18_slice/12_multi-dimensional/01_shorthand-slice/main.go function main (line 7) | func main() { FILE: 18_slice/12_multi-dimensional/02_var-slice/main.go function main (line 7) | func main() { FILE: 18_slice/12_multi-dimensional/03_make-slice/main.go function main (line 7) | func main() { FILE: 18_slice/12_multi-dimensional/04_comparing_shorthand_var_make/01_shorthand-slice/main.go function main (line 7) | func main() { FILE: 18_slice/12_multi-dimensional/04_comparing_shorthand_var_make/02_var-slice/main.go function main (line 7) | func main() { FILE: 18_slice/12_multi-dimensional/04_comparing_shorthand_var_make/03_make-slice/main.go function main (line 7) | func main() { FILE: 18_slice/12_multi-dimensional/05_slice-of-slice-of-string/main.go function main (line 7) | func main() { FILE: 18_slice/12_multi-dimensional/06_slice-of-slice-of-int/main.go function main (line 7) | func main() { FILE: 18_slice/13_int-slice-plus-plus/main.go function main (line 5) | func main() { FILE: 19_map/01_var_nil-map/main.go function main (line 5) | func main() { FILE: 19_map/02_var_make/main.go function main (line 5) | func main() { FILE: 19_map/03_shorthand_make/main.go function main (line 5) | func main() { FILE: 19_map/04_shorthand_composite-literal/main.go function main (line 5) | func main() { FILE: 19_map/05_shorthand_composite-literal/main.go function main (line 5) | func main() { FILE: 19_map/06_adding-entry/main.go function main (line 5) | func main() { FILE: 19_map/07_len/main.go function main (line 5) | func main() { FILE: 19_map/08_updating-entry/main.go function main (line 5) | func main() { FILE: 19_map/09_deleting-entry/main.go function main (line 5) | func main() { FILE: 19_map/10_comma-ok-idiom_val-exists/main.go function main (line 5) | func main() { FILE: 19_map/11_deleting-entry_no-error/main.go function main (line 5) | func main() { FILE: 19_map/12_comma-ok-idiom_val-not-exists/main.go function main (line 5) | func main() { FILE: 19_map/13_loop-range/main.go function main (line 5) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/01_runes-are-numbers/main.go function main (line 5) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/02_strings-to-rune-conversion/main.go function main (line 5) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/03_string-index-access/main.go function main (line 5) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/04_remainder-bucket-selection/main.go function main (line 5) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/05_hash-function/main.go function main (line 5) | func main() { function hashBucket (line 10) | func hashBucket(word string, buckets int) int { FILE: 19_map/14_hash-table/01_letter-buckets/06_get/main.go function main (line 10) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/07_scanner/main.go function main (line 10) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/08_moby-dicks-words/main.go function main (line 10) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/09_int-slice-plus-plus/main.go function main (line 5) | func main() { FILE: 19_map/14_hash-table/01_letter-buckets/10_hash-letter-buckets/main.go function main (line 10) | func main() { function hashBucket (line 36) | func hashBucket(word string) int { FILE: 19_map/14_hash-table/01_letter-buckets/11_hash-remainder-buckets/main.go function main (line 10) | func main() { function hashBucket (line 32) | func hashBucket(word string, buckets int) int { FILE: 19_map/14_hash-table/02_even-dstribution-hash/main.go function main (line 10) | func main() { function hashBucket (line 32) | func hashBucket(word string, buckets int) int { FILE: 19_map/14_hash-table/03_words-in-buckets/01_slice-bucket/main.go function main (line 10) | func main() { function hashBucket (line 44) | func hashBucket(word string, buckets int) int { FILE: 19_map/14_hash-table/03_words-in-buckets/02_map-bucket/main.go function main (line 10) | func main() { function hashBucket (line 43) | func hashBucket(word string, buckets int) int { FILE: 19_map/14_hash-table/04_english-alphabet/01/main.go function main (line 10) | func main() { FILE: 19_map/14_hash-table/04_english-alphabet/02/main.go function main (line 11) | func main() { FILE: 20_struct/01_user-defined-types/01_alias-type_not-idiomatic/main.go type foo (line 5) | type foo function main (line 7) | func main() { FILE: 20_struct/01_user-defined-types/02_static-typing/main.go type foo (line 5) | type foo function main (line 7) | func main() { FILE: 20_struct/02_struct_fields_values_initialization/main.go type person (line 5) | type person struct function main (line 11) | func main() { FILE: 20_struct/03_methods/main.go type person (line 5) | type person struct method fullName (line 11) | func (p person) fullName() string { function main (line 15) | func main() { FILE: 20_struct/04_embedded-types/main.go type person (line 7) | type person struct type doubleZero (line 13) | type doubleZero struct function main (line 18) | func main() { FILE: 20_struct/05_promotion/01_overriding-fields/main.go type person (line 7) | type person struct type doubleZero (line 13) | type doubleZero struct function main (line 19) | func main() { FILE: 20_struct/05_promotion/02_overriding-methods/main.go type person (line 7) | type person struct method Greeting (line 17) | func (p person) Greeting() { type doubleZero (line 12) | type doubleZero struct method Greeting (line 21) | func (dz doubleZero) Greeting() { function main (line 25) | func main() { FILE: 20_struct/06_struct-pointer/main.go type person (line 5) | type person struct function main (line 10) | func main() { FILE: 20_struct/07_marshal_unmarshal/01_marshal/01_exported/main.go type person (line 8) | type person struct function main (line 15) | func main() { FILE: 20_struct/07_marshal_unmarshal/01_marshal/02_unexported/main.go type person (line 8) | type person struct function main (line 14) | func main() { FILE: 20_struct/07_marshal_unmarshal/01_marshal/03_tags/main.go type person (line 8) | type person struct function main (line 14) | func main() { FILE: 20_struct/07_marshal_unmarshal/02_unmarshal/01/main.go type person (line 8) | type person struct function main (line 14) | func main() { FILE: 20_struct/07_marshal_unmarshal/02_unmarshal/02_tags/main.go type person (line 8) | type person struct function main (line 14) | func main() { FILE: 20_struct/08_encode_decode/01_encode/main.go type person (line 8) | type person struct function main (line 15) | func main() { FILE: 20_struct/08_encode_decode/02_decode/main.go type person (line 9) | type person struct function main (line 16) | func main() { FILE: 21_interfaces/01_interface/01_no-interface/main.go type square (line 5) | type square struct method area (line 9) | func (z square) area() float64 { function main (line 13) | func main() { FILE: 21_interfaces/01_interface/02_interface/main.go type square (line 5) | type square struct method area (line 9) | func (z square) area() float64 { type shape (line 13) | type shape interface function info (line 17) | func info(z shape) { function main (line 22) | func main() { FILE: 21_interfaces/01_interface/03_interface/main.go type square (line 8) | type square struct method area (line 21) | func (s square) area() float64 { type circle (line 13) | type circle struct method area (line 26) | func (c circle) area() float64 { type shape (line 17) | type shape interface function info (line 30) | func info(z shape) { function main (line 35) | func main() { FILE: 21_interfaces/01_interface/04_interface/main.go type circle (line 8) | type circle struct method area (line 20) | func (c circle) area() float64 { type square (line 12) | type square struct method area (line 24) | func (s square) area() float64 { type shape (line 16) | type shape interface function info (line 28) | func info(z shape) { function totalArea (line 34) | func totalArea(shapes ...shape) float64 { function main (line 42) | func main() { FILE: 21_interfaces/01_interface/05_io-copy/01_no-error-checking/main.go function main (line 11) | func main() { FILE: 21_interfaces/01_interface/05_io-copy/02_error-checking/main.go function main (line 12) | func main() { FILE: 21_interfaces/02_package-sort/01_sort-names/main.go type people (line 8) | type people method Len (line 10) | func (p people) Len() int { return len(p) } method Swap (line 11) | func (p people) Swap(i, j int) { p[i], p[j] = p[j], p[i] } method Less (line 12) | func (p people) Less(i, j int) bool { return p[i] < p[j] } function main (line 14) | func main() { FILE: 21_interfaces/02_package-sort/02_sort-names_type-StringSlice/main.go function main (line 8) | func main() { FILE: 21_interfaces/02_package-sort/03_sort-Strings/main.go function main (line 8) | func main() { FILE: 21_interfaces/02_package-sort/04_sort-names_type-StringSlice_reverse/main.go function main (line 8) | func main() { FILE: 21_interfaces/02_package-sort/05_sort-int_type-IntSlice/main.go function main (line 8) | func main() { FILE: 21_interfaces/02_package-sort/06_sort-int_type-IntSlice_reverse/main.go function main (line 8) | func main() { FILE: 21_interfaces/02_package-sort/07_sort-Ints/main.go function main (line 8) | func main() { FILE: 21_interfaces/02_package-sort/08_standard-library-example/main.go type person (line 8) | type person struct method String (line 13) | func (p person) String() string { type ByAge (line 19) | type ByAge method Len (line 21) | func (a ByAge) Len() int { return len(a) } method Swap (line 22) | func (a ByAge) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 23) | func (a ByAge) Less(i, j int) bool { return a[i].Age < a[j].Age } function main (line 27) | func main() { FILE: 21_interfaces/03_empty-interface/01_no-interface/main.go type vehicle (line 5) | type vehicle struct type car (line 11) | type car struct type plane (line 17) | type plane struct type boat (line 22) | type boat struct function main (line 27) | func main() { FILE: 21_interfaces/03_empty-interface/02_empty-interface/main.go type vehicles (line 5) | type vehicles interface type vehicle (line 7) | type vehicle struct type car (line 13) | type car struct type plane (line 19) | type plane struct type boat (line 24) | type boat struct function main (line 29) | func main() { FILE: 21_interfaces/03_empty-interface/03_param-accepts-any-type/main.go type animal (line 5) | type animal struct type dog (line 9) | type dog struct type cat (line 14) | type cat struct function specs (line 19) | func specs(a interface{}) { function main (line 23) | func main() { FILE: 21_interfaces/03_empty-interface/04_slice-of-any-type/main.go type animal (line 5) | type animal struct type dog (line 9) | type dog struct type cat (line 14) | type cat struct function main (line 19) | func main() { FILE: 21_interfaces/04_method-sets/01_value-receiver_value-type/main.go type circle (line 8) | type circle struct method area (line 16) | func (c circle) area() float64 { type shape (line 12) | type shape interface function info (line 20) | func info(s shape) { function main (line 24) | func main() { FILE: 21_interfaces/04_method-sets/02_value-receiver_pointer-type/main.go type circle (line 8) | type circle struct method area (line 16) | func (c circle) area() float64 { type shape (line 12) | type shape interface function info (line 20) | func info(s shape) { function main (line 24) | func main() { FILE: 21_interfaces/04_method-sets/03_pointer-receiver_pointer-type/main.go type circle (line 8) | type circle struct method area (line 16) | func (c *circle) area() float64 { type shape (line 12) | type shape interface function info (line 20) | func info(s shape) { function main (line 24) | func main() { FILE: 21_interfaces/04_method-sets/04_pointer-receiver_value-type/main.go type circle (line 8) | type circle struct method area (line 16) | func (c *circle) area() float64 { type shape (line 12) | type shape interface function info (line 20) | func info(s shape) { function main (line 24) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/01_int-to-float/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/02_float-to-int/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/03_rune-to-string/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/04_rune-to-slice-of-bytes-to-string/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/05_string-to-slice-of-bytes/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/06_strconv/01_Atoi/main.go function main (line 8) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/06_strconv/02_Itoa/main.go function main (line 8) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/01_conversion/06_strconv/03_ParseInt/main.go function main (line 8) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/01_non-interface-error_invalid-code/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/02_interface-string/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/03_interface-string_not-ok/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/04_interface-int_print-type/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/05_interface-int_mistmatched-types-error/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/06_interface-int-sum/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/07_casting-reminder/main.go function main (line 5) | func main() { FILE: 21_interfaces/05_conversion-vs-assertion/02_assertion/08_interface-cast-error_need-type-assertion/main.go function main (line 5) | func main() { FILE: 22_go-routines/01_no-go/main.go function main (line 5) | func main() { function foo (line 10) | func foo() { function bar (line 16) | func bar() { FILE: 22_go-routines/02_go_concurrency/main.go function main (line 5) | func main() { function foo (line 10) | func foo() { function bar (line 16) | func bar() { FILE: 22_go-routines/03_wait-group/main.go function main (line 10) | func main() { function foo (line 17) | func foo() { function bar (line 24) | func bar() { FILE: 22_go-routines/04_time-sleep/main.go function main (line 11) | func main() { function foo (line 18) | func foo() { function bar (line 26) | func bar() { FILE: 22_go-routines/05_gomaxprocs_parallelism/main.go function init (line 12) | func init() { function main (line 16) | func main() { function foo (line 23) | func foo() { function bar (line 31) | func bar() { FILE: 22_go-routines/06_race-condition/main.go function main (line 13) | func main() { function incrementor (line 21) | func incrementor(s string) { FILE: 22_go-routines/07_mutex/main.go function main (line 14) | func main() { function incrementor (line 22) | func incrementor(s string) { FILE: 22_go-routines/08_atomicity/main.go function main (line 14) | func main() { function incrementor (line 22) | func incrementor(s string) { FILE: 22_go-routines/09_channels/00_unbuffered-channels-block/main.go function main (line 8) | func main() { FILE: 22_go-routines/09_channels/01_range/main.go function main (line 7) | func main() { FILE: 22_go-routines/09_channels/02_n-to-1/01_race-condition/main.go function main (line 8) | func main() { FILE: 22_go-routines/09_channels/02_n-to-1/02_wait-group/main.go function main (line 8) | func main() { FILE: 22_go-routines/09_channels/02_n-to-1/03_semaphore/main.go function main (line 7) | func main() { FILE: 22_go-routines/09_channels/02_n-to-1/04_semaphore_wrong-way/main.go function main (line 7) | func main() { FILE: 22_go-routines/09_channels/02_n-to-1/05_n-times_to_1/main.go function main (line 7) | func main() { FILE: 22_go-routines/09_channels/03_1-to-n/01_1_to_2-times/main.go function main (line 7) | func main() { FILE: 22_go-routines/09_channels/03_1-to-n/02_1_to_n-times/main.go function main (line 7) | func main() { FILE: 22_go-routines/09_channels/04_pass-return-channels/main.go function main (line 5) | func main() { function incrementor (line 13) | func incrementor() chan int { function puller (line 24) | func puller(c chan int) chan int { FILE: 22_go-routines/09_channels/05_channel-direction/main.go function main (line 5) | func main() { function incrementor (line 13) | func incrementor() <-chan int { function puller (line 24) | func puller(c <-chan int) <-chan int { FILE: 22_go-routines/09_channels/06_refactor/main.go function main (line 5) | func main() { function incrementor (line 12) | func incrementor() <-chan int { function puller (line 23) | func puller(c <-chan int) <-chan int { FILE: 22_go-routines/09_channels/07_incrementor/main.go function main (line 7) | func main() { function incrementor (line 15) | func incrementor(s string) chan int { function puller (line 27) | func puller(c chan int) chan int { FILE: 22_go-routines/09_channels/08_closures/01_no-closure-binding/main.go function main (line 5) | func main() { FILE: 22_go-routines/09_channels/08_closures/02_closure-binding/main.go function main (line 5) | func main() { FILE: 22_go-routines/09_channels/08_closures/03_closure-binding/main.go function main (line 5) | func main() { FILE: 22_go-routines/10_deadlock-challenges/01_deadlock-challenge/main.go function main (line 7) | func main() { FILE: 22_go-routines/10_deadlock-challenges/02_deadlock-solution/main.go function main (line 7) | func main() { FILE: 22_go-routines/10_deadlock-challenges/03_deadlock-challenge/main.go function main (line 7) | func main() { FILE: 22_go-routines/10_deadlock-challenges/04_deadlock-challenge/main.go function main (line 7) | func main() { FILE: 22_go-routines/10_deadlock-challenges/05_deadlock-solution/main.go function main (line 7) | func main() { FILE: 22_go-routines/11_factorial-challenge/01_challenge-description/main.go function main (line 7) | func main() { function factorial (line 12) | func factorial(n int) int { FILE: 22_go-routines/11_factorial-challenge/02_challenge-solution/main.go function main (line 7) | func main() { function factorial (line 14) | func factorial(n int) chan int { FILE: 22_go-routines/12_channels_pipeline/01_sq-output/main.go function main (line 5) | func main() { function gen (line 15) | func gen(nums ...int) chan int { function sq (line 26) | func sq(in chan int) chan int { FILE: 22_go-routines/12_channels_pipeline/02_sq-output/main.go function main (line 5) | func main() { function gen (line 12) | func gen(nums ...int) chan int { function sq (line 23) | func sq(in chan int) chan int { FILE: 22_go-routines/12_channels_pipeline/03_challenge-description/main.go function main (line 7) | func main() { function factorial (line 14) | func factorial(n int) chan int { FILE: 22_go-routines/12_channels_pipeline/04_challenge-solution/01_original-solution/main.go function main (line 7) | func main() { function gen (line 18) | func gen() <-chan int { function factorial (line 31) | func factorial(in <-chan int) <-chan int { function fact (line 42) | func fact(n int) int { FILE: 22_go-routines/12_channels_pipeline/04_challenge-solution/02_another-solution/main.go constant numFactorials (line 9) | numFactorials = 100 constant rdLimit (line 10) | rdLimit = 20 function main (line 12) | func main() { function factorial (line 20) | func factorial(wmain *sync.WaitGroup) { FILE: 22_go-routines/13_channels_fan-out_fan-in/01_boring/main.go function main (line 9) | func main() { function boring (line 17) | func boring(msg string) <-chan string { function fanIn (line 29) | func fanIn(input1, input2 <-chan string) <-chan string { FILE: 22_go-routines/13_channels_fan-out_fan-in/02_sq-output/main.go function main (line 8) | func main() { function gen (line 23) | func gen(nums ...int) chan int { function sq (line 36) | func sq(in chan int) chan int { function merge (line 47) | func merge(cs ...chan int) chan int { FILE: 22_go-routines/13_channels_fan-out_fan-in/03_sq-output_variation/main.go function main (line 8) | func main() { function gen (line 21) | func gen(nums ...int) <-chan int { function sq (line 32) | func sq(in <-chan int) <-chan int { function merge (line 43) | func merge(cs ...<-chan int) <-chan int { FILE: 22_go-routines/13_channels_fan-out_fan-in/04_challenge-description/main.go function main (line 11) | func main() { function publisher (line 24) | func publisher(out chan string) { function workerProcess (line 36) | func workerProcess(in <-chan string) { FILE: 22_go-routines/13_channels_fan-out_fan-in/05_challenge-solution/main.go function main (line 12) | func main() { function publisher (line 25) | func publisher(out chan string) { function workerProcess (line 41) | func workerProcess(in <-chan string) { FILE: 22_go-routines/13_channels_fan-out_fan-in/06_challenge-description/main.go function main (line 7) | func main() { function gen (line 18) | func gen() <-chan int { function factorial (line 31) | func factorial(in <-chan int) <-chan int { function fact (line 42) | func fact(n int) int { FILE: 22_go-routines/13_channels_fan-out_fan-in/07_challenge-solution/main.go function main (line 8) | func main() { function gen (line 37) | func gen() <-chan int { function factorial (line 50) | func factorial(in <-chan int) <-chan int { function fact (line 61) | func fact(n int) int { function merge (line 69) | func merge(cs ...<-chan int) <-chan int { FILE: 22_go-routines/13_channels_fan-out_fan-in/08_challenge-description/main.go function main (line 8) | func main() { function gen (line 26) | func gen() <-chan int { function fanOut (line 39) | func fanOut(in <-chan int, n int) []<-chan int { function factorial (line 47) | func factorial(in <-chan int) <-chan int { function fact (line 58) | func fact(n int) int { function merge (line 66) | func merge(cs ...<-chan int) <-chan int { FILE: 22_go-routines/13_channels_fan-out_fan-in/09_challenge-solution/01_troubleshooting-step/main.go function main (line 8) | func main() { function gen (line 34) | func gen() <-chan int { function fanOut (line 47) | func fanOut(in <-chan int, n int) []<-chan int { function factorial (line 55) | func factorial(in <-chan int) <-chan int { function fact (line 66) | func fact(n int) int { function merge (line 74) | func merge(cs ...<-chan int) <-chan int { FILE: 22_go-routines/13_channels_fan-out_fan-in/09_challenge-solution/02_solution/main.go function main (line 8) | func main() { function gen (line 26) | func gen() <-chan int { function fanOut (line 39) | func fanOut(in <-chan int, n int) []<-chan int { function factorial (line 47) | func factorial(in <-chan int) <-chan int { function fact (line 58) | func fact(n int) int { function merge (line 66) | func merge(cs ...<-chan int) <-chan int { FILE: 22_go-routines/13_channels_fan-out_fan-in/10_van-sickle_fan-out_fan-in/main.go function main (line 7) | func main() { function gen (line 30) | func gen() <-chan int { function fanOut (line 43) | func fanOut(in <-chan int, n int, out chan<- int) { function factorial (line 49) | func factorial(in <-chan int, out chan<- int) { function fact (line 58) | func fact(n int) int { FILE: 22_go-routines/14_incrementor-challenge/01_description/main.go function main (line 12) | func main() { function incrementor (line 20) | func incrementor(s string) { FILE: 22_go-routines/14_incrementor-challenge/02_solution/main.go function main (line 8) | func main() { function incrementor (line 21) | func incrementor(n int) chan string { FILE: 22_go-routines/15_for-fun/01/main.go function main (line 7) | func main() { FILE: 23_error-handling/01_golint/01_before/main.go function main (line 5) | func main() { function evalInt (line 11) | func evalInt(n int) string { FILE: 23_error-handling/01_golint/02_after/main.go function main (line 5) | func main() { function evalInt (line 11) | func evalInt(n int) string { FILE: 23_error-handling/02_err-not-nil/01_fmt-println/main.go function main (line 8) | func main() { FILE: 23_error-handling/02_err-not-nil/02_log-println/main.go function main (line 8) | func main() { FILE: 23_error-handling/02_err-not-nil/03_log-set-output/main.go function init (line 9) | func init() { function main (line 17) | func main() { FILE: 23_error-handling/02_err-not-nil/04_log-fatalln/main.go function main (line 8) | func main() { FILE: 23_error-handling/02_err-not-nil/05_panic/main.go function main (line 7) | func main() { FILE: 23_error-handling/03_custom-errors/01_errors-new/main.go function main (line 8) | func main() { function Sqrt (line 15) | func Sqrt(f float64) (float64, error) { FILE: 23_error-handling/03_custom-errors/02_errors-new_var/main.go function main (line 11) | func main() { function Sqrt (line 19) | func Sqrt(f float64) (float64, error) { FILE: 23_error-handling/03_custom-errors/03_fmt-errorf/main.go function main (line 8) | func main() { function Sqrt (line 15) | func Sqrt(f float64) (float64, error) { FILE: 23_error-handling/03_custom-errors/04_fmt-errorf_var/main.go function main (line 8) | func main() { function Sqrt (line 15) | func Sqrt(f float64) (float64, error) { FILE: 23_error-handling/03_custom-errors/05_custom-type/main.go type NorgateMathError (line 8) | type NorgateMathError struct method Error (line 13) | func (n *NorgateMathError) Error() string { function main (line 17) | func main() { function Sqrt (line 24) | func Sqrt(f float64) (float64, error) { FILE: 24_testing/math.go function Adder (line 3) | func Adder(xs ...int) int { FILE: 24_testing/math_test.go function TestAdder (line 9) | func TestAdder(t *testing.T) { function BenchmarkAdder (line 16) | func BenchmarkAdder(b *testing.B) { function ExampleAdder (line 22) | func ExampleAdder() { function ExampleAdder_multiple (line 28) | func ExampleAdder_multiple() { function TestAdderBlackbox (line 34) | func TestAdderBlackbox(t *testing.T) { function a (line 41) | func a(x, y int) bool { FILE: 25_code-walk/main.go constant win (line 13) | win = 100 constant gamesPerSeries (line 14) | gamesPerSeries = 10 type score (line 17) | type score struct type action (line 21) | type action function roll (line 23) | func roll(s score) (score, bool) { function stay (line 31) | func stay(s score) (score, bool) { type strategy (line 35) | type strategy function stayAtK (line 37) | func stayAtK(k int) strategy { function play (line 46) | func play(strategy0, strategy1 strategy) int { function roundRobin (line 61) | func roundRobin(strategies []strategy) ([]int, int) { function ratioString (line 79) | func ratioString(vals ...int) string { function main (line 95) | func main() { FILE: 25_code-walk/with-comments/main.go constant win (line 13) | win = 100 constant gamesPerSeries (line 14) | gamesPerSeries = 10 type score (line 19) | type score struct type action (line 24) | type action function roll (line 29) | func roll(s score) (score, bool) { function stay (line 39) | func stay(s score) (score, bool) { type strategy (line 44) | type strategy function stayAtK (line 47) | func stayAtK(k int) strategy { function play (line 57) | func play(strategy0, strategy1 strategy) int { function roundRobin (line 73) | func roundRobin(strategies []strategy) ([]int, int) { function ratioString (line 94) | func ratioString(vals ...int) string { function main (line 110) | func main() { FILE: 26_QUESTIONS-FROM-STUDENTS/01-package-scope/main.go function main (line 5) | func main() { FILE: 26_QUESTIONS-FROM-STUDENTS/02-goroutines-printing/main.go function main (line 5) | func main() { FILE: 26_QUESTIONS-FROM-STUDENTS/03-range-chan/main.go function main (line 8) | func main() { function gen (line 37) | func gen() <-chan int { function factorial (line 50) | func factorial(in <-chan int) <-chan int { function fact (line 61) | func fact(n int) int { function merge (line 69) | func merge(cs ...<-chan int) <-chan int { FILE: 26_QUESTIONS-FROM-STUDENTS/04_goroutines_closing-chan/01_broken-code/main.go function main (line 10) | func main() { function incrementor (line 18) | func incrementor(s string) <-chan string { function fanIn (line 30) | func fanIn(input1, input2 <-chan string) <-chan string { FILE: 26_QUESTIONS-FROM-STUDENTS/04_goroutines_closing-chan/02_fixed-code/main.go function main (line 7) | func main() { function incrementor (line 43) | func incrementor(s string) <-chan string { function fanIn (line 71) | func fanIn(input1, input2 <-chan string) <-chan string { FILE: 26_QUESTIONS-FROM-STUDENTS/05_concurrency-channels/main.go function main (line 5) | func main() { FILE: 26_QUESTIONS-FROM-STUDENTS/06_performance-ramifications/01_called/main.go function main (line 8) | func main() { function gen (line 21) | func gen() <-chan int { function factorial (line 34) | func factorial(in <-chan int) <-chan int { function fact (line 45) | func fact(n int) int { FILE: 26_QUESTIONS-FROM-STUDENTS/06_performance-ramifications/02_not-called/main.go function main (line 8) | func main() { function gen (line 21) | func gen() <-chan int { function factorial (line 34) | func factorial(in <-chan int) <-chan int { FILE: 27_code-in-process/26_playing-with-type/00_types/01_division/01_int-int/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/01_division/02_int-float/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/01_division/03_var_int-float/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/01_division/04_var_int-float_invalid-code/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/01_escape-sequences/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/02_sequence-of-bytes/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/03_immutable/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/04_len/01_len-english/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/04_len/02_len-chinese/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/04_len/03_binary/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/05_index-access/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/06_slicing/01/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/06_slicing/02/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/06_slicing/03_invalid_negative-index/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/02_strings/07_concatenation/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/03_strconv/01_itoa/main.go function main (line 8) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/03_strconv/02_fmt-sprint/main.go function main (line 5) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/03_strconv/03_atoi/main.go function main (line 8) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/06_math-pkg/main.go function main (line 8) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/07_typeOf/01_better-code/main.go function main (line 8) | func main() { FILE: 27_code-in-process/26_playing-with-type/00_types/07_typeOf/02_worse-code/main.go function main (line 12) | func main() { FILE: 27_code-in-process/26_playing-with-type/01_struct/main.go type person (line 5) | type person struct function main (line 10) | func main() { FILE: 27_code-in-process/26_playing-with-type/02_string/main.go type mySentence (line 5) | type mySentence function main (line 7) | func main() { FILE: 27_code-in-process/26_playing-with-type/03_string-conversion/main.go type mySentence (line 5) | type mySentence function main (line 7) | func main() { FILE: 27_code-in-process/26_playing-with-type/04_string_assertion_invalid-code/main.go type mySentence (line 5) | type mySentence function main (line 7) | func main() { FILE: 27_code-in-process/26_playing-with-type/05_var-for-zero-val-initalization/main.go type person (line 5) | type person struct function main (line 10) | func main() { FILE: 27_code-in-process/26_playing-with-type/06_shorthand-notation_nonzero-initalization/main.go type person (line 5) | type person struct function main (line 10) | func main() { FILE: 27_code-in-process/26_playing-with-type/xx05_slice-strings/main.go type mySentences (line 5) | type mySentences function main (line 7) | func main() { FILE: 27_code-in-process/26_playing-with-type/xx06_slice-strings_conversion/main.go type mySentences (line 5) | type mySentences function main (line 7) | func main() { FILE: 27_code-in-process/26_playing-with-type/xx07_int/main.go type myType (line 5) | type myType function main (line 7) | func main() { FILE: 27_code-in-process/26_playing-with-type/xx08_slice-ints/main.go type myType (line 5) | type myType function main (line 7) | func main() { FILE: 27_code-in-process/27_package-os/00_args/main.go function main (line 8) | func main() { FILE: 27_code-in-process/27_package-os/01_Read/01/main.go function main (line 7) | func main() { FILE: 27_code-in-process/27_package-os/02_Write/01/main.go function main (line 8) | func main() { FILE: 27_code-in-process/27_package-os/02_Write/02/main.go function main (line 8) | func main() { FILE: 27_code-in-process/27_package-os/02_Write/03_absolute-path/main.go function main (line 8) | func main() { FILE: 27_code-in-process/27_package-os/03_mkdir/01/main.go function main (line 8) | func main() { FILE: 27_code-in-process/27_package-os/03_mkdir/02/main.go function main (line 8) | func main() { FILE: 27_code-in-process/27_package-os/04_FileMode/01/main.go function main (line 8) | func main() { FILE: 27_code-in-process/27_package-os/04_FileMode/02/main.go constant ModeDir (line 6) | ModeDir = 1 << (32 - 1 - iota) constant ModeAppend (line 7) | ModeAppend constant ModeExclusive (line 8) | ModeExclusive constant ModeTemporary (line 9) | ModeTemporary constant ModeSymlink (line 10) | ModeSymlink constant ModeDevice (line 11) | ModeDevice constant ModeNamedPipe (line 12) | ModeNamedPipe constant ModeSocket (line 13) | ModeSocket constant ModeSetuid (line 14) | ModeSetuid constant ModeSetgid (line 15) | ModeSetgid constant ModeCharDevice (line 16) | ModeCharDevice constant ModeSticky (line 17) | ModeSticky function main (line 20) | func main() { FILE: 27_code-in-process/27_package-os/05_file-open/main.go function main (line 10) | func main() { FILE: 27_code-in-process/27_package-os/06_file-create/main.go function main (line 9) | func main() { FILE: 27_code-in-process/27_package-os/07_Stdout_Stdin/01/main.go function main (line 9) | func main() { FILE: 27_code-in-process/27_package-os/07_Stdout_Stdin/02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/28_package-strings/01_strings/main.go function main (line 8) | func main() { FILE: 27_code-in-process/28_package-strings/02_NewReader/main.go function main (line 10) | func main() { FILE: 27_code-in-process/29_package-bufio/01_NewReader/main.go function cp (line 11) | func cp(srcName, dstName string) error { function main (line 35) | func main() { FILE: 27_code-in-process/29_package-bufio/02_NewScanner/main.go function main (line 10) | func main() { FILE: 27_code-in-process/29_package-bufio/03_scan-lines/01/main.go function main (line 11) | func main() { FILE: 27_code-in-process/29_package-bufio/03_scan-lines/02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/29_package-bufio/04_scan-words/01/main.go function main (line 11) | func main() { FILE: 27_code-in-process/29_package-bufio/04_scan-words/02/main.go function main (line 10) | func main() { FILE: 27_code-in-process/29_package-bufio/04_scan-words/03/main.go function main (line 10) | func main() { FILE: 27_code-in-process/30_package-io/01_copy/main.go function main (line 9) | func main() { FILE: 27_code-in-process/30_package-io/02_copy/main.go function cp (line 10) | func cp(srcName, dstName string) error { function main (line 32) | func main() { FILE: 27_code-in-process/30_package-io/03_copy/main.go function main (line 10) | func main() { FILE: 27_code-in-process/30_package-io/04_TeeReader/01/main.go function main (line 8) | func main() { FILE: 27_code-in-process/30_package-io/04_TeeReader/02/main.go function main (line 8) | func main() { FILE: 27_code-in-process/30_package-io/05_ReadFull/main.go function main (line 8) | func main() { FILE: 27_code-in-process/30_package-io/06_LimitReader/main.go function main (line 8) | func main() { FILE: 27_code-in-process/30_package-io/07_WriteString/01_one-way/main.go function main (line 8) | func main() { FILE: 27_code-in-process/30_package-io/07_WriteString/02_another-way/main.go function main (line 9) | func main() { FILE: 27_code-in-process/31_package-ioutil/00_ReadAll/main.go function main (line 10) | func main() { FILE: 27_code-in-process/31_package-ioutil/01_ReadAll/main.go function main (line 10) | func main() { FILE: 27_code-in-process/31_package-ioutil/02_WriteFile/main.go function main (line 7) | func main() { FILE: 27_code-in-process/31_package-ioutil/03_ReadAll_WriteFile/main.go function main (line 10) | func main() { FILE: 27_code-in-process/32_package-encoding-csv/01_NewReader/main.go function main (line 11) | func main() { FILE: 27_code-in-process/32_package-encoding-csv/02_column-headings/main.go function main (line 11) | func main() { FILE: 27_code-in-process/32_package-encoding-csv/03_panics/main.go type state (line 10) | type state struct function parseState (line 17) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 21) | func main() { FILE: 27_code-in-process/32_package-encoding-csv/04_parse-state/main.go type state (line 11) | type state struct function parseState (line 18) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 34) | func main() { FILE: 27_code-in-process/32_package-encoding-csv/05_state-lookup/main.go type state (line 12) | type state struct function parseState (line 19) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 35) | func main() { FILE: 27_code-in-process/32_package-encoding-csv/06_write-to-html/main.go type state (line 12) | type state struct function parseState (line 19) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 35) | func main() { FILE: 27_code-in-process/32_package-encoding-csv/07_NewReader/main.go type record (line 10) | type record struct function makeRecord (line 15) | func makeRecord(row []string) record { function main (line 23) | func main() { FILE: 27_code-in-process/33_package-path-filepath/01_Walk/main.go function main (line 9) | func main() { FILE: 27_code-in-process/33_package-path-filepath/02_Walk/main.go function main (line 9) | func main() { FILE: 27_code-in-process/33_package-path-filepath/03_Walk/main.go function main (line 9) | func main() { FILE: 27_code-in-process/33_package-path-filepath/04_Walk/main.go function md5file (line 11) | func md5file(fileName string) []byte { function main (line 23) | func main() { FILE: 27_code-in-process/34_package-time/01_now/main.go function main (line 8) | func main() { FILE: 27_code-in-process/34_package-time/02_time-parse/01/main.go function main (line 8) | func main() { FILE: 27_code-in-process/34_package-time/02_time-parse/02/main.go function main (line 8) | func main() { FILE: 27_code-in-process/34_package-time/03_format/main.go function main (line 8) | func main() { FILE: 27_code-in-process/34_package-time/04_date-diff/main.go function main (line 9) | func main() { FILE: 27_code-in-process/35_hash/01_FNV/01/main.go function main (line 10) | func main() { FILE: 27_code-in-process/35_hash/01_FNV/02/main.go function main (line 10) | func main() { FILE: 27_code-in-process/35_hash/02_MD5/01/main.go function main (line 10) | func main() { FILE: 27_code-in-process/35_hash/02_MD5/02/main.go function main (line 12) | func main() { FILE: 27_code-in-process/36_package-filepath/01_walk/main.go function walk (line 9) | func walk() { function main (line 22) | func main() { FILE: 27_code-in-process/37_review-exercises/01_gravatar/main.go function getGravatarHash (line 12) | func getGravatarHash(email string) string { function main (line 22) | func main() { FILE: 27_code-in-process/37_review-exercises/02_word-count/main.go function wordCount (line 8) | func wordCount(str string) map[string]int { function main (line 18) | func main() { FILE: 27_code-in-process/37_review-exercises/03_centered_average/main.go function main (line 8) | func main() { FILE: 27_code-in-process/37_review-exercises/04_swap-two_pointers/main.go function swap (line 5) | func swap(x, y *int) { function main (line 9) | func main() { FILE: 27_code-in-process/37_review-exercises/05_clumps/main.go function countClumps (line 5) | func countClumps(xs []int) int { function main (line 21) | func main() { FILE: 27_code-in-process/37_review-exercises/06_cat/main.go function main (line 10) | func main() { FILE: 27_code-in-process/37_review-exercises/07_copy/main.go function main (line 9) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/01/main.go function main (line 9) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/03/main.go function cp (line 10) | func cp(srcName, dstName string) error { function main (line 37) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/04_io-copy/main.go function cp (line 10) | func cp(srcName, dstName string) error { function main (line 32) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/05_os-write_slice-bytes/main.go function main (line 8) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/06_io-copy_string-NewReader/main.go function main (line 10) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/07_io-copy_bufio-NewReader/main.go function cp (line 11) | func cp(srcName, dstName string) error { function main (line 35) | func main() { FILE: 27_code-in-process/37_review-exercises/08_cp/08_bufio_scanner/main.go function main (line 10) | func main() { FILE: 27_code-in-process/37_review-exercises/09_sentence-case/main.go function main (line 11) | func main() { FILE: 27_code-in-process/37_review-exercises/10_every-word/main.go function main (line 11) | func main() { FILE: 27_code-in-process/37_review-exercises/11_every-other-word/main.go function main (line 11) | func main() { FILE: 27_code-in-process/37_review-exercises/12_count-words/main.go function wordCount (line 12) | func wordCount(rdr io.Reader) map[string]int { function main (line 26) | func main() { FILE: 27_code-in-process/37_review-exercises/13_longest-word/main.go function longestWord (line 11) | func longestWord(rdr io.Reader) string { function main (line 24) | func main() { FILE: 27_code-in-process/37_review-exercises/14_cat-files/01/main.go function main (line 9) | func main() { FILE: 27_code-in-process/37_review-exercises/14_cat-files/02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/37_review-exercises/15_csv_state-info/step01_read-and-output/main.go function main (line 11) | func main() { FILE: 27_code-in-process/37_review-exercises/15_csv_state-info/step02_column-headings/main.go function main (line 11) | func main() { FILE: 27_code-in-process/37_review-exercises/15_csv_state-info/step03_panics/main.go type state (line 10) | type state struct function parseState (line 17) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 21) | func main() { FILE: 27_code-in-process/37_review-exercises/15_csv_state-info/step04_parse-state/main.go type state (line 11) | type state struct function parseState (line 18) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 34) | func main() { FILE: 27_code-in-process/37_review-exercises/15_csv_state-info/step05_state-lookup/main.go type state (line 12) | type state struct function parseState (line 19) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 35) | func main() { FILE: 27_code-in-process/37_review-exercises/15_csv_state-info/step06_write-to-html/main.go type state (line 12) | type state struct function parseState (line 19) | func parseState(columns map[string]int, record []string) (*state, error) { function main (line 35) | func main() { FILE: 27_code-in-process/37_review-exercises/16_csv_stock-prices/step01_stdout/main.go type record (line 10) | type record struct function makeRecord (line 15) | func makeRecord(row []string) record { function main (line 23) | func main() { FILE: 27_code-in-process/37_review-exercises/16_csv_stock-prices/step02_html/main.go type record (line 10) | type record struct function makeRecord (line 15) | func makeRecord(row []string) record { function main (line 23) | func main() { FILE: 27_code-in-process/37_review-exercises/16_csv_stock-prices/step03_charting/main.go type record (line 11) | type record struct function makeRecord (line 16) | func makeRecord(row []string) record { function main (line 24) | func main() { FILE: 27_code-in-process/37_review-exercises/17_MD5-checksum/main.go function main (line 10) | func main() { FILE: 27_code-in-process/37_review-exercises/18_Walk-dir/main.go function md5file (line 11) | func md5file(fileName string) []byte { function main (line 23) | func main() { FILE: 27_code-in-process/38_JSON/01/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/02/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/03/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/04/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/05/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/06/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/07/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/08/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/09/main.go function main (line 8) | func main() { FILE: 27_code-in-process/38_JSON/10/main.go function main (line 9) | func main() { FILE: 27_code-in-process/38_JSON/11/main.go type Anything (line 10) | type Anything interface function main (line 12) | func main() { FILE: 27_code-in-process/38_JSON/12/main.go type Anything (line 9) | type Anything interface function main (line 11) | func main() { FILE: 27_code-in-process/38_JSON/13/main.go type StockData (line 9) | type StockData struct function main (line 13) | func main() { FILE: 27_code-in-process/38_JSON/14/main.go function main (line 11) | func main() { FILE: 27_code-in-process/38_JSON/15/main.go type StockData (line 11) | type StockData struct function toFloat (line 21) | func toFloat(str string) float64 { function main (line 26) | func main() { FILE: 27_code-in-process/38_JSON/15_exercise_csv-to-JSON/01/main.go function main (line 11) | func main() { FILE: 27_code-in-process/38_JSON/15_exercise_csv-to-JSON/02/main.go type StockData (line 11) | type StockData struct function toFloat (line 21) | func toFloat(str string) float64 { function main (line 26) | func main() { FILE: 27_code-in-process/38_JSON/16/main.go type Article (line 10) | type Article struct function main (line 15) | func main() { FILE: 27_code-in-process/38_JSON/17/main.go type Record (line 11) | type Record struct function main (line 17) | func main() { FILE: 27_code-in-process/39_packages/hello/bye.go function ByeBye (line 5) | func ByeBye() { function looper (line 9) | func looper(str string) string { FILE: 27_code-in-process/39_packages/hello/hello.go function Hello (line 5) | func Hello() { FILE: 27_code-in-process/39_packages/main/main.go function main (line 5) | func main() { FILE: 27_code-in-process/40_testing/01/example/sum.go function Sum (line 7) | func Sum(nums ...int) int { FILE: 27_code-in-process/40_testing/01/example/sum_test.go function TestSum (line 5) | func TestSum(t *testing.T) { FILE: 27_code-in-process/40_testing/01/main.go function main (line 7) | func main() { FILE: 27_code-in-process/40_testing/02/example/sum.go function Sum (line 7) | func Sum(nums ...int) int { FILE: 27_code-in-process/40_testing/02/example/sum_test.go type testpair (line 5) | type testpair struct function TestSum (line 16) | func TestSum(t *testing.T) { FILE: 27_code-in-process/40_testing/02/main.go function main (line 7) | func main() { FILE: 27_code-in-process/41_TCP/02_listen/main.go function main (line 10) | func main() { FILE: 27_code-in-process/41_TCP/03_dial/main.go function main (line 9) | func main() { FILE: 27_code-in-process/41_TCP/04_echo-server/v01/main.go function main (line 5) | func main() { FILE: 27_code-in-process/41_TCP/04_echo-server/v02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/41_TCP/04_echo-server/v03/main.go function main (line 8) | func main() { FILE: 27_code-in-process/41_TCP/04_echo-server/v04/main.go function main (line 8) | func main() { FILE: 27_code-in-process/41_TCP/05_redis-clone/i01/main.go function handle (line 10) | func handle(conn net.Conn) { function main (line 20) | func main() { FILE: 27_code-in-process/41_TCP/05_redis-clone/i02/main.go function handle (line 11) | func handle(conn net.Conn) { function main (line 33) | func main() { FILE: 27_code-in-process/41_TCP/05_redis-clone/i03/main.go function handle (line 14) | func handle(conn net.Conn) { function main (line 46) | func main() { FILE: 27_code-in-process/41_TCP/05_redis-clone/i04/main.go function handle (line 14) | func handle(conn net.Conn) { function main (line 56) | func main() { FILE: 27_code-in-process/41_TCP/05_redis-clone/i05_code-issue/main.go function handle (line 14) | func handle(conn net.Conn) { function main (line 48) | func main() { FILE: 27_code-in-process/41_TCP/05_redis-clone/i06/main.go type Command (line 12) | type Command struct function redisServer (line 17) | func redisServer(commands chan Command) { function handle (line 56) | func handle(commands chan Command, conn net.Conn) { function main (line 75) | func main() { FILE: 27_code-in-process/41_TCP/06_rot13-server/v01-todd/main.go function main (line 10) | func main() { FILE: 27_code-in-process/41_TCP/06_rot13-server/v02-caleb/main.go type Rot13Reader (line 9) | type Rot13Reader struct method Read (line 13) | func (rot13 *Rot13Reader) Read(p []byte) (int, error) { function rot13 (line 33) | func rot13(rdr io.Reader) io.Reader { function handleConn (line 37) | func handleConn(conn net.Conn) { function main (line 42) | func main() { FILE: 27_code-in-process/41_TCP/06_rot13-server/v03-daniel/main.go function handleConn (line 10) | func handleConn(conn net.Conn) { function main (line 36) | func main() { FILE: 27_code-in-process/41_TCP/07_chat-server/main.go type User (line 11) | type User struct type Message (line 16) | type Message struct type ChatServer (line 21) | type ChatServer struct method Run (line 28) | func (cs *ChatServer) Run() { function handleConn (line 58) | func handleConn(chatServer *ChatServer, conn net.Conn) { function main (line 93) | func main() { FILE: 27_code-in-process/42_HTTP/01_header/main.go function handleConn (line 10) | func handleConn(conn net.Conn) { function main (line 18) | func main() { FILE: 27_code-in-process/42_HTTP/02_http-server/i01/main.go function handleConn (line 11) | func handleConn(conn net.Conn) { function main (line 30) | func main() { FILE: 27_code-in-process/42_HTTP/02_http-server/i02/main.go function handleConn (line 11) | func handleConn(conn net.Conn) { function main (line 34) | func main() { FILE: 27_code-in-process/42_HTTP/02_http-server/i03/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 43) | func main() { FILE: 27_code-in-process/42_HTTP/02_http-server/i04_POST/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 57) | func main() { FILE: 27_code-in-process/42_HTTP/02_http-server/i05_not-writing_error-in-code/main.go function handleConn (line 13) | func handleConn(conn net.Conn) { function main (line 74) | func main() { FILE: 27_code-in-process/42_HTTP/02_http-server/i06_PLAIN-TEXT/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 55) | func main() { FILE: 27_code-in-process/42_HTTP/02_http-server/i07_Location/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 56) | func main() { FILE: 27_code-in-process/42_HTTP/03_http-server_return-URL/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 45) | func main() { FILE: 27_code-in-process/43_HTTP-server/01/i01/main.go type MyHandler (line 7) | type MyHandler method ServeHTTP (line 9) | func (h MyHandler) ServeHTTP(res http.ResponseWriter, req *http.Reques... function main (line 13) | func main() { FILE: 27_code-in-process/43_HTTP-server/01/i02/main.go type MyHandler (line 8) | type MyHandler method ServeHTTP (line 10) | func (h MyHandler) ServeHTTP(res http.ResponseWriter, req *http.Reques... function main (line 14) | func main() { FILE: 27_code-in-process/43_HTTP-server/02_requestURI/01/main.go type myHandler (line 8) | type myHandler method ServeHTTP (line 10) | func (h myHandler) ServeHTTP(resp http.ResponseWriter, req *http.Reque... function main (line 14) | func main() { FILE: 27_code-in-process/43_HTTP-server/02_requestURI/02/main.go type myHandler (line 8) | type myHandler method ServeHTTP (line 10) | func (h myHandler) ServeHTTP(resp http.ResponseWriter, req *http.Reque... function main (line 14) | func main() { FILE: 27_code-in-process/43_HTTP-server/03_restful/01/main.go type myHandler (line 8) | type myHandler method ServeHTTP (line 10) | func (h myHandler) ServeHTTP(res http.ResponseWriter, req *http.Reques... function main (line 19) | func main() { FILE: 27_code-in-process/43_HTTP-server/03_restful/02/main.go type myHandler (line 8) | type myHandler method ServeHTTP (line 10) | func (h myHandler) ServeHTTP(res http.ResponseWriter, req *http.Reques... function main (line 20) | func main() { FILE: 27_code-in-process/43_HTTP-server/03_restful/03/main.go type myHandler (line 8) | type myHandler method ServeHTTP (line 10) | func (h myHandler) ServeHTTP(res http.ResponseWriter, req *http.Reques... function main (line 20) | func main() { FILE: 27_code-in-process/44_MUX_routing/01/main.go type DogHandler (line 8) | type DogHandler method ServeHTTP (line 10) | func (h DogHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... type CatHandler (line 14) | type CatHandler method ServeHTTP (line 16) | func (h CatHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... function main (line 20) | func main() { FILE: 27_code-in-process/44_MUX_routing/02/main.go type DogHandler (line 8) | type DogHandler method ServeHTTP (line 10) | func (h DogHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... type CatHandler (line 14) | type CatHandler method ServeHTTP (line 16) | func (h CatHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... function main (line 20) | func main() { FILE: 27_code-in-process/44_MUX_routing/03/main.go type DogHandler (line 8) | type DogHandler method ServeHTTP (line 10) | func (h DogHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... type CatHandler (line 14) | type CatHandler method ServeHTTP (line 16) | func (h CatHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... function main (line 20) | func main() { FILE: 27_code-in-process/44_MUX_routing/04/main.go type DogHandler (line 8) | type DogHandler method ServeHTTP (line 10) | func (h DogHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... type CatHandler (line 15) | type CatHandler method ServeHTTP (line 17) | func (h CatHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... function main (line 22) | func main() { FILE: 27_code-in-process/44_MUX_routing/05/main.go type DogHandler (line 9) | type DogHandler method ServeHTTP (line 11) | func (h DogHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... type CatHandler (line 24) | type CatHandler method ServeHTTP (line 26) | func (h CatHandler) ServeHTTP(res http.ResponseWriter, req *http.Reque... function main (line 39) | func main() { FILE: 27_code-in-process/44_MUX_routing/06_HandleFunc/main.go function main (line 8) | func main() { FILE: 27_code-in-process/44_MUX_routing/07_HandleFunc/main.go function upTown (line 8) | func upTown(res http.ResponseWriter, req *http.Request) { function youUp (line 12) | func youUp(res http.ResponseWriter, req *http.Request) { function main (line 16) | func main() { FILE: 27_code-in-process/44_MUX_routing/08_HandleFunc/main.go function upTown (line 8) | func upTown(res http.ResponseWriter, req *http.Request) { function youUp (line 12) | func youUp(res http.ResponseWriter, req *http.Request) { function main (line 16) | func main() { FILE: 27_code-in-process/45_serving-files/01/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 24) | func main() { FILE: 27_code-in-process/45_serving-files/02/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/45_serving-files/03/main.go function upTown (line 10) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 24) | func main() { FILE: 27_code-in-process/45_serving-files/04_io-Copy/main.go function upTown (line 10) | func upTown(res http.ResponseWriter, req *http.Request) { function dogPic (line 24) | func dogPic(res http.ResponseWriter, req *http.Request) { function main (line 35) | func main() { FILE: 27_code-in-process/45_serving-files/05_ServeContent/main.go function upTown (line 10) | func upTown(res http.ResponseWriter, req *http.Request) { function dogPic (line 24) | func dogPic(res http.ResponseWriter, req *http.Request) { function main (line 41) | func main() { FILE: 27_code-in-process/45_serving-files/06_ServeFile/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function dogPic (line 23) | func dogPic(res http.ResponseWriter, req *http.Request) { function main (line 27) | func main() { FILE: 27_code-in-process/45_serving-files/07_FileServer/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/45_serving-files/08_FileServer/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/45_serving-files/09_FileServer/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/45_serving-files/10_static-file-server/main.go function main (line 7) | func main() { FILE: 27_code-in-process/45_serving-files/11_static-file-server/main.go function main (line 8) | func main() { FILE: 27_code-in-process/46_errata/01_set-header/main.go function main (line 8) | func main() { FILE: 27_code-in-process/46_errata/02_URL/main.go function main (line 8) | func main() { FILE: 27_code-in-process/46_errata/03_URL/main.go function main (line 8) | func main() { FILE: 27_code-in-process/46_errata/04_URL/main.go function main (line 8) | func main() { FILE: 27_code-in-process/46_errata/05_ServeFile/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function dogPic (line 23) | func dogPic(res http.ResponseWriter, req *http.Request) { function main (line 27) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/01/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/03/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/04/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/05/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/06/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/07/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/08/main.go type Page (line 9) | type Page struct function main (line 14) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/09_function/main.go type Page (line 9) | type Page struct function main (line 14) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/10_function/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/47_templates/01_text-templates/11/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/47_templates/02_html-templates/01/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/47_templates/02_html-templates/02/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/47_templates/02_html-templates/03/main.go type Page (line 9) | type Page struct function main (line 14) | func main() { FILE: 27_code-in-process/47_templates/02_html-templates/04/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/47_templates/02_html-templates/05/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/47_templates/x03_exercises/01/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/x03_exercises/02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/47_templates/x03_exercises/03_template_csv-parse/main.go function main (line 10) | func main() { FILE: 27_code-in-process/47_templates/x03_exercises/03_template_csv-parse/parse/parse.go type Record (line 10) | type Record struct function Parse (line 15) | func Parse(filePath string) []Record { FILE: 27_code-in-process/48_passing-data/01_URL-values/main.go function main (line 8) | func main() { FILE: 27_code-in-process/48_passing-data/02_form-values/main.go function main (line 9) | func main() { FILE: 27_code-in-process/48_passing-data/03_form-values/main.go function main (line 9) | func main() { FILE: 27_code-in-process/48_passing-data/04_form-values/main.go function main (line 9) | func main() { FILE: 27_code-in-process/48_passing-data/05_form-values/main.go function main (line 9) | func main() { FILE: 27_code-in-process/48_passing-data/06_form-values/01/main.go function main (line 10) | func main() { FILE: 27_code-in-process/48_passing-data/06_form-values/02/main.go function main (line 9) | func main() { FILE: 27_code-in-process/48_passing-data/07_form-data/main.go type Person (line 11) | type Person struct function main (line 16) | func main() { FILE: 27_code-in-process/48_passing-data/08_form_file-upload/01/main.go function main (line 12) | func main() { FILE: 27_code-in-process/48_passing-data/08_form_file-upload/02/main.go function main (line 11) | func main() { FILE: 27_code-in-process/48_passing-data/08_form_file-upload/03/main.go function main (line 11) | func main() { FILE: 27_code-in-process/48_passing-data/08_form_file-upload/04/main.go function main (line 10) | func main() { FILE: 27_code-in-process/49_cookies-sessions/01_set-cookie/main.go function main (line 7) | func main() { FILE: 27_code-in-process/49_cookies-sessions/02_get-cookie/main.go function main (line 8) | func main() { FILE: 27_code-in-process/49_cookies-sessions/03_sessions/main.go function main (line 9) | func main() { FILE: 27_code-in-process/49_cookies-sessions/04_sessions/main.go function main (line 8) | func main() { FILE: 27_code-in-process/49_cookies-sessions/05_sessions-HMAC/01/main.go function getCode (line 11) | func getCode(data string) string { function main (line 17) | func main() { FILE: 27_code-in-process/49_cookies-sessions/05_sessions-HMAC/02/main.go function getCode (line 11) | func getCode(data string) string { function main (line 18) | func main() { FILE: 27_code-in-process/49_cookies-sessions/06_sessions_GORILLA/main.go function main (line 12) | func main() { FILE: 27_code-in-process/49_cookies-sessions/07_cookies_show-visits/main.go function main (line 9) | func main() { FILE: 27_code-in-process/49_cookies-sessions/08_log-in-out/main.go function main (line 9) | func main() { FILE: 27_code-in-process/49_cookies-sessions/09_HTTPS-TLS/main.go function handler (line 8) | func handler(w http.ResponseWriter, req *http.Request) { function main (line 13) | func main() { FILE: 27_code-in-process/49_cookies-sessions/10_HTTPS-TLS/main.go function handler (line 8) | func handler(w http.ResponseWriter, req *http.Request) { function main (line 13) | func main() { FILE: 27_code-in-process/49_cookies-sessions/11_HTTPS-TLS/main.go function handler (line 8) | func handler(w http.ResponseWriter, req *http.Request) { function redir (line 13) | func redir(w http.ResponseWriter, req *http.Request) { function main (line 17) | func main() { FILE: 27_code-in-process/49_cookies-sessions/12_GORILLA_photo-blog/main.go function init (line 20) | func init() { function main (line 24) | func main() { function index (line 33) | func index(res http.ResponseWriter, req *http.Request) { function logout (line 53) | func logout(res http.ResponseWriter, req *http.Request) { function login (line 60) | func login(res http.ResponseWriter, req *http.Request) { function uploadPhoto (line 72) | func uploadPhoto(src multipart.File, hdr *multipart.FileHeader, session ... function getSha (line 84) | func getSha(src multipart.File) string { function addPhoto (line 90) | func addPhoto(fName string, session *sessions.Session) { function getPhotos (line 97) | func getPhotos(session *sessions.Session) []string { FILE: 27_code-in-process/50_exif/main.go function main (line 11) | func main() { FILE: 27_code-in-process/51_appengine-introduction/01_hello-world/hello.go function init (line 8) | func init() { function handler (line 12) | func handler(w http.ResponseWriter, r *http.Request) { FILE: 27_code-in-process/51_appengine-introduction/02_photo-blog_somewhat-crappy-code-FYI/photos.go function init (line 19) | func init() { function home (line 33) | func home(res http.ResponseWriter, req *http.Request) { function admin (line 85) | func admin(res http.ResponseWriter, req *http.Request) { function upload (line 100) | func upload(res http.ResponseWriter, req *http.Request) { function logout (line 128) | func logout(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/51_appengine-introduction/03_google-maps-api/hello.go constant GoogleAPIKey (line 11) | GoogleAPIKey = "AIzaSyDpMNCWNz2UENVGQOS6zMFvtLsXn0zMBf4" function init (line 15) | func init() { function handleIndex (line 24) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/51_appengine-introduction/04_SERVICE_users/main.go function index (line 11) | func index(res http.ResponseWriter, req *http.Request) { function admin (line 20) | func admin(res http.ResponseWriter, req *http.Request) { function init (line 29) | func init() { FILE: 27_code-in-process/51_appengine-introduction/05_GORILLA_photo-blog/main.go function init (line 20) | func init() { function index (line 30) | func index(res http.ResponseWriter, req *http.Request) { function logout (line 51) | func logout(res http.ResponseWriter, req *http.Request) { function login (line 59) | func login(res http.ResponseWriter, req *http.Request) { function uploadPhoto (line 72) | func uploadPhoto(src multipart.File, hdr *multipart.FileHeader, session ... function getSha (line 84) | func getSha(src multipart.File) string { function addPhoto (line 90) | func addPhoto(fName string, session *sessions.Session) { function getPhotos (line 97) | func getPhotos(session *sessions.Session) []string { FILE: 27_code-in-process/52_memcache/01_get-nil/main.go function init (line 12) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/02_set_get/main.go function init (line 12) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/03_expiration/main.go function init (line 12) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/04_increment/main.go function index (line 12) | func index(res http.ResponseWriter, req *http.Request) { function init (line 30) | func init() { FILE: 27_code-in-process/52_memcache/05_memcache-session/01i/main.go function init (line 8) | func init() { function handleIndex (line 12) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/05_memcache-session/02i/main.go function init (line 9) | func init() { function handleIndex (line 13) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/05_memcache-session/03i/main.go function init (line 11) | func init() { function handleIndex (line 15) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/05_memcache-session/04i/main.go function init (line 12) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/05_memcache-session/05i/main.go function init (line 12) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/52_memcache/05_memcache-session/06_photo-blog_UNFINISHED/main.go type Data (line 18) | type Data struct function init (line 26) | func init() { function index (line 36) | func index(res http.ResponseWriter, req *http.Request) { function createCookie (line 75) | func createCookie() *http.Cookie { function logout (line 83) | func logout(res http.ResponseWriter, req *http.Request) { function login (line 94) | func login(res http.ResponseWriter, req *http.Request) { function setMemcache (line 104) | func setMemcache(res http.ResponseWriter, req *http.Request) { function uploadPhoto (line 125) | func uploadPhoto(m map[string]string, src multipart.File, hdr *multipart... function getSha (line 138) | func getSha(src multipart.File) string { function addPhoto (line 144) | func addPhoto(m map[string]string, fName string) { function getPhotos (line 153) | func getPhotos(m map[string]string) []string { FILE: 27_code-in-process/53_datastore/00_appengine-documentation-example/01_with-modifications/main.go type Entity (line 10) | type Entity struct function init (line 14) | func init() { function home (line 18) | func home(w http.ResponseWriter, r *http.Request) { FILE: 27_code-in-process/53_datastore/00_appengine-documentation-example/02_as-in-documentation/main.go type Entity (line 10) | type Entity struct function init (line 14) | func init() { function home (line 18) | func home(w http.ResponseWriter, r *http.Request) { FILE: 27_code-in-process/53_datastore/00_appengine-documentation-example/03_no-favicon/main.go type Entity (line 10) | type Entity struct function init (line 14) | func init() { function home (line 18) | func home(w http.ResponseWriter, r *http.Request) { FILE: 27_code-in-process/53_datastore/00_appengine-documentation-example/04_no-favicon/main.go type Entity (line 10) | type Entity struct function init (line 14) | func init() { function home (line 19) | func home(w http.ResponseWriter, r *http.Request) { FILE: 27_code-in-process/53_datastore/01_partial-example_does-not-run/main.go type Employee (line 13) | type Employee struct function handle (line 20) | func handle(w http.ResponseWriter, r *http.Request) { FILE: 27_code-in-process/53_datastore/02/01_put/words.go function init (line 11) | func init() { type Word (line 15) | type Word struct function handleIndex (line 20) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/53_datastore/02/02/words.go function init (line 11) | func init() { type Word (line 15) | type Word struct function handleIndex (line 20) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/53_datastore/02/03_get/words.go function init (line 12) | func init() { type Word (line 16) | type Word struct function handleWords (line 21) | func handleWords(res http.ResponseWriter, req *http.Request) { function listWords (line 36) | func listWords(res http.ResponseWriter, req *http.Request) { function showWord (line 71) | func showWord(res http.ResponseWriter, req *http.Request, term string) { function saveWord (line 92) | func saveWord(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/53_datastore/02/04_query-filter/words.go function init (line 12) | func init() { type Word (line 16) | type Word struct function handleWords (line 21) | func handleWords(res http.ResponseWriter, req *http.Request) { function listWords (line 36) | func listWords(res http.ResponseWriter, req *http.Request) { function showWord (line 74) | func showWord(res http.ResponseWriter, req *http.Request, term string) { function saveWord (line 95) | func saveWord(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/53_datastore/02/05_query-ancestor/words.go function init (line 13) | func init() { type Animal (line 18) | type Animal struct type Ate (line 23) | type Ate struct function handleAnimals (line 27) | func handleAnimals(res http.ResponseWriter, req *http.Request) { function listAnimals (line 40) | func listAnimals(res http.ResponseWriter, req *http.Request) { function showAnimal (line 75) | func showAnimal(res http.ResponseWriter, req *http.Request, term string) { function saveAnimal (line 122) | func saveAnimal(res http.ResponseWriter, req *http.Request) { function ateProcess (line 141) | func ateProcess(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/53_datastore/03_users_datastore_exercise/main.go type Profile (line 14) | type Profile struct function init (line 21) | func init() { function showIndex (line 29) | func showIndex(res http.ResponseWriter, req *http.Request, params httpro... function showProfile (line 33) | func showProfile(res http.ResponseWriter, req *http.Request, params http... function updateProfile (line 54) | func updateProfile(res http.ResponseWriter, req *http.Request, params ht... FILE: 27_code-in-process/53_datastore/04_julien-schmidt-router/01/main.go function Index (line 10) | func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { function Hello (line 14) | func Hello(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { function main (line 18) | func main() { FILE: 27_code-in-process/53_datastore/04_julien-schmidt-router/02-with-appengine/main.go function Index (line 9) | func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { function Hello (line 13) | func Hello(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { function init (line 17) | func init() { FILE: 27_code-in-process/54_AJAX/02_users_datastore_exercise_AJAX/main.go type Profile (line 14) | type Profile struct function init (line 21) | func init() { function getAPIProfile (line 30) | func getAPIProfile(res http.ResponseWriter, req *http.Request, params ht... function updateAPIProfile (line 42) | func updateAPIProfile(res http.ResponseWriter, req *http.Request, params... function showIndex (line 55) | func showIndex(res http.ResponseWriter, req *http.Request, params httpro... function showProfile (line 59) | func showProfile(res http.ResponseWriter, req *http.Request, params http... FILE: 27_code-in-process/55_todo-list/01v_content-editable/main.go type ToDo (line 14) | type ToDo struct function init (line 20) | func init() { function handleIndex (line 26) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleTodos (line 34) | func handleTodos(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/55_todo-list/02v_input/main.go type ToDo (line 14) | type ToDo struct function init (line 20) | func init() { function handleIndex (line 26) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleTodos (line 34) | func handleTodos(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/02_ListenAndServe/main.go function main (line 10) | func main() { function home (line 18) | func home(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/03_error-handling/main.go function main (line 11) | func main() { function home (line 19) | func home(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/04_template_abstraction/main.go function main (line 11) | func main() { function home (line 19) | func home(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/05_document/main.go function main (line 37) | func main() { function home (line 49) | func home(res http.ResponseWriter, req *http.Request) { function GodocExperiment (line 59) | func GodocExperiment() { function godocUnexported (line 65) | func godocUnexported() { FILE: 27_code-in-process/56_twitter/06_document/main.go function main (line 11) | func main() { function home (line 19) | func home(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/07_app-engine/main.go function init (line 10) | func init() { function home (line 19) | func home(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/08_julien-schmidt/main.go function init (line 11) | func init() { function Home (line 20) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... FILE: 27_code-in-process/56_twitter/09_login-form/main.go function init (line 11) | func init() { function Home (line 22) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 30) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 34) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/10_signup-form-validate/01v_form-validation/main.go type User (line 15) | type User struct function init (line 23) | func init() { function Home (line 36) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 44) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 48) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 52) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 71) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/10_signup-form-validate/02v_datastore-put/main.go type User (line 14) | type User struct function init (line 22) | func init() { function Home (line 35) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 43) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 47) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 51) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 70) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/11_HTTPS-TLS/main.go type User (line 14) | type User struct function init (line 22) | func init() { function Home (line 35) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 43) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 47) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 51) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 70) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/12_error-handling/main.go type User (line 15) | type User struct function init (line 23) | func init() { function Home (line 36) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 44) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 48) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 52) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 71) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/13_login_unfinished/main.go type User (line 15) | type User struct function init (line 23) | func init() { function Home (line 36) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 44) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 48) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 52) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 71) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/14_code-review/main.go type User (line 17) | type User struct function init (line 25) | func init() { function Home (line 38) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 42) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 46) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 50) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 69) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/15_memcache-home/main.go type User (line 17) | type User struct function init (line 25) | func init() { function Home (line 38) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 54) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 58) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 62) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 81) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/16_abstract-memcache-code/main.go type User (line 17) | type User struct function init (line 25) | func init() { function Home (line 38) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function memTemplate (line 42) | func memTemplate(res http.ResponseWriter, req *http.Request, memKey, tem... function Login (line 58) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 62) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 66) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 85) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/17_memcache-templates/main.go type User (line 14) | type User struct function init (line 22) | func init() { function Home (line 35) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 39) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 43) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function checkUserName (line 47) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 66) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/17_memcache-templates/memcache.go function memTemplate (line 11) | func memTemplate(res http.ResponseWriter, req *http.Request, memKey, tem... FILE: 27_code-in-process/56_twitter/18_abstract-API-Model/API/users.go function CheckUserName (line 14) | func CheckUserName(res http.ResponseWriter, req *http.Request, _ httprou... function CreateUser (line 33) | func CreateUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/18_abstract-API-Model/Memcache/templates.go function Template (line 12) | func Template(res http.ResponseWriter, req *http.Request, memKey, templa... FILE: 27_code-in-process/56_twitter/18_abstract-API-Model/Model/users.go type User (line 3) | type User struct FILE: 27_code-in-process/56_twitter/18_abstract-API-Model/main.go function init (line 14) | func init() { function Home (line 27) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 31) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 35) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/19_abstract-API-Model_AE-fix/API/users.go function CheckUserName (line 14) | func CheckUserName(res http.ResponseWriter, req *http.Request, _ httprou... function CreateUser (line 33) | func CreateUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/19_abstract-API-Model_AE-fix/App/main.go function init (line 13) | func init() { function Home (line 26) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 30) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 34) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/19_abstract-API-Model_AE-fix/Memcache/templates.go function Template (line 12) | func Template(res http.ResponseWriter, req *http.Request, memKey, templa... FILE: 27_code-in-process/56_twitter/19_abstract-API-Model_AE-fix/Model/users.go type User (line 3) | type User struct FILE: 27_code-in-process/56_twitter/20_reverting_to_only_package-main/main.go type User (line 9) | type User struct function init (line 17) | func init() { function Home (line 30) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 34) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 38) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/20_reverting_to_only_package-main/memcache.go function memTemplate (line 11) | func memTemplate(res http.ResponseWriter, req *http.Request, memKey, tem... FILE: 27_code-in-process/56_twitter/20_reverting_to_only_package-main/userCreation.go function checkUserName (line 13) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 32) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/21_set-cookie_no-PATH/main.go type User (line 9) | type User struct function init (line 17) | func init() { function Home (line 30) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 38) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 46) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/21_set-cookie_no-PATH/memcache.go function memTemplate (line 11) | func memTemplate(res http.ResponseWriter, req *http.Request, memKey, tem... FILE: 27_code-in-process/56_twitter/21_set-cookie_no-PATH/userCreation.go function checkUserName (line 13) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 32) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/22_set-cookie_PATH/main.go type User (line 9) | type User struct function init (line 17) | func init() { function Home (line 30) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 34) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 38) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/22_set-cookie_PATH/memcache.go function memTemplate (line 11) | func memTemplate(res http.ResponseWriter, req *http.Request, memKey, tem... FILE: 27_code-in-process/56_twitter/22_set-cookie_PATH/userCreation.go function checkUserName (line 13) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 32) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/23_set-cookie-UUID/main.go type User (line 9) | type User struct function init (line 17) | func init() { function Home (line 30) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 34) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 38) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/23_set-cookie-UUID/memcache.go function memTemplate (line 11) | func memTemplate(res http.ResponseWriter, req *http.Request, memKey, tem... FILE: 27_code-in-process/56_twitter/23_set-cookie-UUID/userCreation.go function checkUserName (line 16) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 35) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/24_session/main.go function init (line 14) | func init() { function Home (line 27) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 46) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 50) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/24_session/memcache.go function memTemplate (line 11) | func memTemplate(res http.ResponseWriter, req *http.Request, memKey, tem... FILE: 27_code-in-process/56_twitter/24_session/model.go type User (line 3) | type User struct type templateData (line 9) | type templateData struct FILE: 27_code-in-process/56_twitter/24_session/session.go function loggedIn (line 10) | func loggedIn(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/24_session/userCreation.go function checkUserName (line 17) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 36) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/25_session-all-pages/main.go function init (line 11) | func init() { function Home (line 24) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 28) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 32) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/25_session-all-pages/model.go type User (line 3) | type User struct type sessionData (line 9) | type sessionData struct FILE: 27_code-in-process/56_twitter/25_session-all-pages/session.go function getSession (line 10) | func getSession(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/25_session-all-pages/template.go function serveTemplate (line 12) | func serveTemplate(res http.ResponseWriter, req *http.Request, pageKey, ... FILE: 27_code-in-process/56_twitter/25_session-all-pages/userCreation.go function checkUserName (line 17) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 36) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... FILE: 27_code-in-process/56_twitter/26_login/api.go function checkUserName (line 17) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 36) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function login (line 56) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function createSession (line 76) | func createSession(res http.ResponseWriter, req *http.Request, user User) { FILE: 27_code-in-process/56_twitter/26_login/main.go function init (line 11) | func init() { function Home (line 25) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 29) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 33) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/26_login/model.go type User (line 3) | type User struct type sessionData (line 9) | type sessionData struct FILE: 27_code-in-process/56_twitter/26_login/session.go function getSession (line 10) | func getSession(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/26_login/template.go function serveTemplate (line 12) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/27_logout/api.go function checkUserName (line 17) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 36) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function login (line 56) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function createSession (line 76) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 106) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/27_logout/main.go function init (line 11) | func init() { function Home (line 26) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 30) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 34) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/27_logout/model.go type User (line 3) | type User struct type sessionData (line 9) | type sessionData struct FILE: 27_code-in-process/56_twitter/27_logout/session.go function getSession (line 10) | func getSession(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/27_logout/template.go function serveTemplate (line 12) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/28_code-review/api.go function checkUserName (line 17) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 36) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 56) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 76) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 106) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/28_code-review/main.go function init (line 11) | func init() { function Home (line 26) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 30) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 34) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/28_code-review/model.go type User (line 3) | type User struct type SessionData (line 9) | type SessionData struct FILE: 27_code-in-process/56_twitter/28_code-review/session.go function getSession (line 9) | func getSession(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/28_code-review/template.go function serveTemplate (line 12) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/29_password-encryption/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/29_password-encryption/main.go function init (line 11) | func init() { function Home (line 26) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 30) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 34) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/29_password-encryption/model.go type User (line 3) | type User struct type SessionData (line 9) | type SessionData struct FILE: 27_code-in-process/56_twitter/29_password-encryption/session.go function getSession (line 9) | func getSession(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/29_password-encryption/template.go function serveTemplate (line 12) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/30_turn-off-memcache/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/30_turn-off-memcache/main.go function init (line 11) | func init() { function Home (line 26) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 30) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 34) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/30_turn-off-memcache/model.go type User (line 3) | type User struct type SessionData (line 9) | type SessionData struct FILE: 27_code-in-process/56_twitter/30_turn-off-memcache/session.go function getSession (line 9) | func getSession(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/30_turn-off-memcache/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/31_modal-post-tweet/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/31_modal-post-tweet/main.go function init (line 11) | func init() { function Home (line 26) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 30) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 34) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/31_modal-post-tweet/model.go type User (line 3) | type User struct type SessionData (line 9) | type SessionData struct FILE: 27_code-in-process/56_twitter/31_modal-post-tweet/session.go function getSession (line 9) | func getSession(req *http.Request) *memcache.Item { FILE: 27_code-in-process/56_twitter/31_modal-post-tweet/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/32_tweets/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... FILE: 27_code-in-process/56_twitter/32_tweets/main.go function init (line 11) | func init() { function Home (line 27) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 31) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 35) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/32_tweets/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 17) | type Tweet struct FILE: 27_code-in-process/56_twitter/32_tweets/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/32_tweets/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/33_display-all-tweets/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... FILE: 27_code-in-process/56_twitter/33_display-all-tweets/main.go function init (line 12) | func init() { function Home (line 28) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 47) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 51) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/33_display-all-tweets/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 18) | type Tweet struct FILE: 27_code-in-process/56_twitter/33_display-all-tweets/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/33_display-all-tweets/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/33_display-all-tweets/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/34_humanize/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... FILE: 27_code-in-process/56_twitter/34_humanize/main.go function init (line 13) | func init() { function Home (line 35) | func Home(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function Login (line 52) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 56) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/34_humanize/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 18) | type Tweet struct FILE: 27_code-in-process/56_twitter/34_humanize/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/34_humanize/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/34_humanize/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/35_schmidt-params/01/main.go function Index (line 10) | func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { function Hello (line 14) | func Hello(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { function main (line 18) | func main() { FILE: 27_code-in-process/56_twitter/35_schmidt-params/02/main.go function Index (line 10) | func Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { function Hello (line 14) | func Hello(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { function main (line 18) | func main() { FILE: 27_code-in-process/56_twitter/35_schmidt-params/03/main.go function Index (line 10) | func Index(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { function main (line 19) | func main() { FILE: 27_code-in-process/56_twitter/35_schmidt-params/04/main.go function Index (line 10) | func Index(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { function main (line 19) | func main() { FILE: 27_code-in-process/56_twitter/35_schmidt-params/05/main.go function Index (line 10) | func Index(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { function main (line 19) | func main() { FILE: 27_code-in-process/56_twitter/36_user-tweets/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... FILE: 27_code-in-process/56_twitter/36_user-tweets/main.go function init (line 13) | func init() { function Home (line 36) | func Home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function Login (line 60) | func Login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function Signup (line 64) | func Signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/36_user-tweets/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 18) | type Tweet struct FILE: 27_code-in-process/56_twitter/36_user-tweets/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/36_user-tweets/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/36_user-tweets/tweets.go function putTweet (line 10) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 18) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/37_other-implementations/01_daniel/data.go function getProfileByEmail (line 12) | func getProfileByEmail(ctx context.Context, email string) (*profile, err... function getProfileByUsername (line 22) | func getProfileByUsername(ctx context.Context, usr string) (*profile, er... function itemIn (line 37) | func itemIn(item string, list []string) bool { function getMultiTweets (line 46) | func getMultiTweets(ctx context.Context, emails []string) ([]tweet, erro... function getTweets (line 72) | func getTweets(ctx context.Context, email string) ([]tweet, error) { function createProfile (line 94) | func createProfile(ctx context.Context, username, email string) error { function emailUser (line 104) | func emailUser(ctx context.Context, username string, t *tweet) error { function postTweet (line 121) | func postTweet(ctx context.Context, t *tweet, email string) error { function addFollower (line 137) | func addFollower(ctx context.Context, currentUser *profile, newFollowed ... function removeFollower (line 147) | func removeFollower(ctx context.Context, currentUser *profile, oldFollow... FILE: 27_code-in-process/56_twitter/37_other-implementations/01_daniel/email.go function parseFile (line 14) | func parseFile(ctx context.Context, mme, enc string, reader io.Reader) (... FILE: 27_code-in-process/56_twitter/37_other-implementations/01_daniel/main.go type profile (line 18) | type profile struct type tweet (line 24) | type tweet struct type mainpageData (line 30) | type mainpageData struct type profileData (line 36) | type profileData struct type loginData (line 43) | type loginData struct constant minUsernameSize (line 49) | minUsernameSize = 5 constant maxUsernameSize (line 50) | maxUsernameSize = 20 constant tweetSize (line 51) | tweetSize = 140 constant loginDuration (line 52) | loginDuration = 60 * 60 * 24 function init (line 57) | func init() { function getCurrentUser (line 71) | func getCurrentUser(req *http.Request) *profile { function confirmCreateProfile (line 91) | func confirmCreateProfile(ctx context.Context, username string) bool { function incomingMail (line 97) | func incomingMail(res http.ResponseWriter, req *http.Request) { function handleTweet (line 135) | func handleTweet(res http.ResponseWriter, req *http.Request) { function handleLogin (line 169) | func handleLogin(res http.ResponseWriter, req *http.Request) { function handleLogout (line 218) | func handleLogout(res http.ResponseWriter, req *http.Request) { function handleCreateProfile (line 223) | func handleCreateProfile(res http.ResponseWriter, req *http.Request) { function getProfile (line 261) | func getProfile(res http.ResponseWriter, req *http.Request) { function handle (line 318) | func handle(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/37_other-implementations/02_tommy/data.go type Scream (line 14) | type Scream struct function createScream (line 22) | func createScream(ctx context.Context, scream *Scream) error { function getScreams (line 39) | func getScreams(ctx context.Context, username string) ([]*Scream, error) { type Profile (line 60) | type Profile struct function getProfile (line 66) | func getProfile(ctx context.Context, email string) (*Profile, error) { function getProfileByUsername (line 72) | func getProfileByUsername(ctx context.Context, username string) (*Profil... function createProfile (line 85) | func createProfile(ctx context.Context, profile *Profile) error { function follow (line 90) | func follow(ctx context.Context, email string, followee string) error { function scanString (line 107) | func scanString(message string) string { function sendMail (line 117) | func sendMail(ctx context.Context, mentionProfile *Profile) error { FILE: 27_code-in-process/56_twitter/37_other-implementations/02_tommy/handlers.go function profileHandler (line 13) | func profileHandler(res http.ResponseWriter, req *http.Request) { function homeHandler (line 16) | func homeHandler(res http.ResponseWriter, req *http.Request) { function loginHandler (line 24) | func loginHandler(res http.ResponseWriter, req *http.Request) { function logoutHandler (line 46) | func logoutHandler(res http.ResponseWriter, req *http.Request) { function tweetHandler (line 51) | func tweetHandler(res http.ResponseWriter, req *http.Request) { function followHandler (line 99) | func followHandler(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/37_other-implementations/02_tommy/main.go function init (line 5) | func init() { FILE: 27_code-in-process/56_twitter/37_other-implementations/02_tommy/render.go function renderHome (line 8) | func renderHome(res http.ResponseWriter, req *http.Request) { function renderProfile (line 19) | func renderProfile(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/37_other-implementations/03_t/data.go type Profile (line 13) | type Profile struct type Tweet (line 18) | type Tweet struct function getProfileByUsername (line 25) | func getProfileByUsername(req *http.Request, username string) (*Profile,... function getProfileByEmail (line 40) | func getProfileByEmail(ctx context.Context, email string) (*Profile, err... function getProfile (line 51) | func getProfile(ctx context.Context) (*Profile, error) { function createProfile (line 57) | func createProfile(req *http.Request, profile *Profile) error { function waitForProfile (line 67) | func waitForProfile(req *http.Request, username string) error { function putTweet (line 80) | func putTweet(ctx context.Context, tweet *Tweet, email string) error { function userTweets (line 91) | func userTweets(ctx context.Context, email string) ([]Tweet, error) { function recentTweets (line 101) | func recentTweets(ctx context.Context) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/37_other-implementations/03_t/routes.go function init (line 14) | func init() { function home (line 24) | func home(res http.ResponseWriter, req *http.Request) { function login (line 59) | func login(res http.ResponseWriter, req *http.Request) { function profile (line 104) | func profile(res http.ResponseWriter, req *http.Request) { function tweet (line 146) | func tweet(res http.ResponseWriter, req *http.Request) { function receiveTweet (line 164) | func receiveTweet(ctx context.Context, res http.ResponseWriter, req *htt... function logout (line 175) | func logout(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/37_other-implementations/03_t/templates.go function init (line 10) | func init() { function renderTemplate (line 14) | func renderTemplate(res http.ResponseWriter, name string, data interface... FILE: 27_code-in-process/56_twitter/38_follow/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... function follow (line 171) | func follow(res http.ResponseWriter, req *http.Request, ps httprouter.Pa... FILE: 27_code-in-process/56_twitter/38_follow/following.go function following (line 9) | func following(follower, followee string, req *http.Request) (bool, erro... FILE: 27_code-in-process/56_twitter/38_follow/main.go function init (line 15) | func init() { function home (line 40) | func home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function user (line 61) | func user(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function login (line 90) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function signup (line 94) | func signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/38_follow/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 20) | type Tweet struct FILE: 27_code-in-process/56_twitter/38_follow/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/38_follow/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/38_follow/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/39_unfollow/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... function follow (line 171) | func follow(res http.ResponseWriter, req *http.Request, ps httprouter.Pa... function unfollow (line 203) | func unfollow(res http.ResponseWriter, req *http.Request, ps httprouter.... FILE: 27_code-in-process/56_twitter/39_unfollow/following.go function following (line 9) | func following(follower, followee string, req *http.Request) (bool, erro... FILE: 27_code-in-process/56_twitter/39_unfollow/main.go function init (line 15) | func init() { function home (line 40) | func home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function user (line 61) | func user(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function login (line 90) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function signup (line 94) | func signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/39_unfollow/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 20) | type Tweet struct FILE: 27_code-in-process/56_twitter/39_unfollow/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/39_unfollow/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/39_unfollow/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/40_send-email/main.go function init (line 12) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/56_twitter/41_twitter-send-email/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... function follow (line 171) | func follow(res http.ResponseWriter, req *http.Request, ps httprouter.Pa... function unfollow (line 214) | func unfollow(res http.ResponseWriter, req *http.Request, ps httprouter.... FILE: 27_code-in-process/56_twitter/41_twitter-send-email/email.go function followedEmail (line 11) | func followedEmail(w http.ResponseWriter, r *http.Request, recip string) { constant confirmMessage (line 24) | confirmMessage = ` FILE: 27_code-in-process/56_twitter/41_twitter-send-email/following.go function following (line 9) | func following(follower, followee string, req *http.Request) (bool, erro... FILE: 27_code-in-process/56_twitter/41_twitter-send-email/main.go function init (line 15) | func init() { function home (line 40) | func home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function user (line 61) | func user(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function login (line 90) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function signup (line 94) | func signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/41_twitter-send-email/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 20) | type Tweet struct FILE: 27_code-in-process/56_twitter/41_twitter-send-email/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/41_twitter-send-email/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/41_twitter-send-email/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/42_following/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... function follow (line 171) | func follow(res http.ResponseWriter, req *http.Request, ps httprouter.Pa... function unfollow (line 210) | func unfollow(res http.ResponseWriter, req *http.Request, ps httprouter.... FILE: 27_code-in-process/56_twitter/42_following/email.go function followedEmail (line 11) | func followedEmail(w http.ResponseWriter, r *http.Request, recip string) { constant confirmMessage (line 24) | confirmMessage = ` FILE: 27_code-in-process/56_twitter/42_following/following.go function following (line 9) | func following(follower, followee string, req *http.Request) (bool, erro... FILE: 27_code-in-process/56_twitter/42_following/main.go function init (line 16) | func init() { function home (line 42) | func home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function user (line 63) | func user(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function fing (line 92) | func fing(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function login (line 126) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function signup (line 130) | func signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/42_following/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 21) | type Tweet struct type F (line 27) | type F struct FILE: 27_code-in-process/56_twitter/42_following/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/42_following/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/42_following/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/43_following-me/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... function follow (line 171) | func follow(res http.ResponseWriter, req *http.Request, ps httprouter.Pa... function unfollow (line 210) | func unfollow(res http.ResponseWriter, req *http.Request, ps httprouter.... FILE: 27_code-in-process/56_twitter/43_following-me/email.go function followedEmail (line 11) | func followedEmail(w http.ResponseWriter, r *http.Request, recip string) { constant confirmMessage (line 24) | confirmMessage = ` FILE: 27_code-in-process/56_twitter/43_following-me/following.go function following (line 9) | func following(follower, followee string, req *http.Request) (bool, erro... FILE: 27_code-in-process/56_twitter/43_following-me/main.go function init (line 16) | func init() { function home (line 43) | func home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function user (line 64) | func user(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function fing (line 93) | func fing(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function fingme (line 127) | func fingme(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function login (line 159) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function signup (line 163) | func signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/43_following-me/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 21) | type Tweet struct type F (line 27) | type F struct FILE: 27_code-in-process/56_twitter/43_following-me/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/43_following-me/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/43_following-me/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/56_twitter/44_code-review/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... function follow (line 171) | func follow(res http.ResponseWriter, req *http.Request, ps httprouter.Pa... function unfollow (line 210) | func unfollow(res http.ResponseWriter, req *http.Request, ps httprouter.... FILE: 27_code-in-process/56_twitter/44_code-review/email.go function followedEmail (line 11) | func followedEmail(w http.ResponseWriter, r *http.Request, email string) { constant confirmMessage (line 24) | confirmMessage = ` FILE: 27_code-in-process/56_twitter/44_code-review/following.go function following (line 9) | func following(follower, followee string, req *http.Request) (bool, erro... FILE: 27_code-in-process/56_twitter/44_code-review/main.go function init (line 16) | func init() { function home (line 43) | func home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function user (line 64) | func user(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function fing (line 93) | func fing(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function fingme (line 123) | func fingme(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function login (line 151) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function signup (line 155) | func signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/56_twitter/44_code-review/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 21) | type Tweet struct type F (line 27) | type F struct FILE: 27_code-in-process/56_twitter/44_code-review/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/56_twitter/44_code-review/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/56_twitter/44_code-review/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/57_appengine-channel/01_basic/channel.go function init (line 11) | func init() { function handleSend (line 18) | func handleSend(res http.ResponseWriter, req *http.Request) { function handleCreateChannel (line 28) | func handleCreateChannel(res http.ResponseWriter, req *http.Request) { function handleListen (line 38) | func handleListen(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/57_appengine-channel/02_chat-room/handlers.go type API (line 14) | type API struct method ServeHTTP (line 26) | func (api *API) ServeHTTP(res http.ResponseWriter, req *http.Request) { method handlePostChannel (line 60) | func (api *API) handlePostChannel(res http.ResponseWriter, req *http.R... method handlePostMessage (line 80) | func (api *API) handlePostMessage(res http.ResponseWriter, req *http.R... function NewAPI (line 19) | func NewAPI(root string) *API { FILE: 27_code-in-process/57_appengine-channel/02_chat-room/public/main.js function apiRequest (line 2) | function apiRequest(method, endpoint, data, callback) { function sendMessage (line 29) | function sendMessage(text, callback) { function onMessage (line 36) | function onMessage(message) { FILE: 27_code-in-process/57_appengine-channel/02_chat-room/room.go type Room (line 8) | type Room struct function getRoom (line 12) | func getRoom(ctx context.Context) (*Room, error) { function putRoom (line 19) | func putRoom(ctx context.Context, room *Room) error { FILE: 27_code-in-process/57_appengine-channel/02_chat-room/routes.go function init (line 5) | func init() { FILE: 27_code-in-process/58_appengine-search/search.go function init (line 11) | func init() { type Document (line 17) | type Document struct function handleSearch (line 22) | func handleSearch(res http.ResponseWriter, req *http.Request) { function handleGet (line 44) | func handleGet(res http.ResponseWriter, req *http.Request) { function handlePut (line 60) | func handlePut(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/59_appengine-GCS-storage/01_NewWriter_PEM-auth/storage.go function init (line 16) | func init() { function handlePut (line 21) | func handlePut(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/59_appengine-GCS-storage/02_NewWriter_JSON-auth/storage.go constant gcsBucket (line 10) | gcsBucket = "learning-1130-bucket-01" function init (line 12) | func init() { function handlePut (line 16) | func handlePut(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/59_appengine-GCS-storage/03_put-get-list_JSON-auth/storage.go constant gcsBucket (line 17) | gcsBucket = "learning-1130-bucket-01" constant aeId (line 18) | aeId = "learning-1130" function init (line 20) | func init() { function getCloudContext (line 26) | func getCloudContext(req *http.Request) (context.Context, error) { function handlePut (line 45) | func handlePut(res http.ResponseWriter, req *http.Request) { function handleGet (line 61) | func handleGet(res http.ResponseWriter, req *http.Request) { function handleList (line 78) | func handleList(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/01_search/index.go type indexModel (line 5) | type indexModel struct function handleIndex (line 10) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/01_search/newmovie.go type newMovieModel (line 10) | type newMovieModel struct function handleNewMovie (line 14) | func handleNewMovie(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/01_search/routes.go function init (line 5) | func init() { FILE: 27_code-in-process/60_movie-website/01_search/search.go type searchModel (line 10) | type searchModel struct function handleSearch (line 15) | func handleSearch(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/01_search/types.go type Movie (line 3) | type Movie struct FILE: 27_code-in-process/60_movie-website/02_image-upload-GCS/index.go type indexModel (line 5) | type indexModel struct function handleIndex (line 10) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/02_image-upload-GCS/newmovie.go constant githubAPIUrl (line 17) | githubAPIUrl = "https://api.github.com" function renderMarkdown (line 19) | func renderMarkdown(ctx context.Context, text string) (string, error) { type newMovieModel (line 35) | type newMovieModel struct function handleNewMovie (line 39) | func handleNewMovie(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/02_image-upload-GCS/routes.go function init (line 10) | func init() { function handlePosters (line 17) | func handlePosters(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/02_image-upload-GCS/search.go type searchModel (line 10) | type searchModel struct function handleSearch (line 15) | func handleSearch(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/60_movie-website/02_image-upload-GCS/storage.go constant gcsBucket (line 9) | gcsBucket = "learning-1130-bucket-01" function putFile (line 11) | func putFile(ctx context.Context, name string, rdr io.Reader) error { function getFile (line 25) | func getFile(ctx context.Context, name string) (io.ReadCloser, error) { function getFileLink (line 35) | func getFileLink(ctx context.Context, name string) (string, error) { FILE: 27_code-in-process/60_movie-website/02_image-upload-GCS/types.go type Movie (line 5) | type Movie struct FILE: 27_code-in-process/61_http-giffy/http.go function init (line 12) | func init() { function handleGetGif (line 16) | func handleGetGif(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/62_self-destructing-message/01/routes.go function init (line 14) | func init() { function handleIndex (line 20) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleMessage (line 69) | func handleMessage(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/62_self-destructing-message/02_crypto/01_nonce/main.go function main (line 9) | func main() { FILE: 27_code-in-process/62_self-destructing-message/02_crypto/02_encrypt/main.go function main (line 10) | func main() { FILE: 27_code-in-process/62_self-destructing-message/02_crypto/03_decrypt/main.go function main (line 12) | func main() { FILE: 27_code-in-process/62_self-destructing-message/02_crypto/04_complete/routes.go function init (line 19) | func init() { function encrypt (line 24) | func encrypt(decrypted string, password [32]byte) string { function decrypt (line 31) | func decrypt(encrypted string, password [32]byte) (string, error) { function generatePassword (line 53) | func generatePassword() [32]byte { function handleIndex (line 60) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleMessage (line 115) | func handleMessage(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/63_GCS-filebrowser/routes.go function init (line 13) | func init() { function index (line 19) | func index(res http.ResponseWriter, req *http.Request) { type browseModel (line 45) | type browseModel struct function browse (line 52) | func browse(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/63_GCS-filebrowser/session.go type Session (line 14) | type Session struct function getSession (line 19) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 43) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/63_GCS-filebrowser/storage.go function listBucket (line 9) | func listBucket(ctx context.Context, bucketName, folder string) ([]strin... function putFile (line 39) | func putFile(ctx context.Context, bucketName, fileName string, rdr io.Re... FILE: 27_code-in-process/64_csv-example/01/routes.go function init (line 10) | func init() { function handleInput (line 15) | func handleInput(res http.ResponseWriter, req *http.Request) { function handleOutput (line 30) | func handleOutput(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/64_csv-example/01/stats.go function getData (line 13) | func getData(ctx context.Context, symbol string) { FILE: 27_code-in-process/64_csv-example/02/routes.go function init (line 12) | func init() { function handleInput (line 17) | func handleInput(res http.ResponseWriter, req *http.Request) { function handleOutput (line 35) | func handleOutput(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/64_csv-example/02/stats.go function correlation (line 14) | func correlation(xs, ys []float64) float64 { function covariance (line 18) | func covariance(x, y []float64) float64 { function getData (line 40) | func getData(ctx context.Context, symbol string) ([]float64, error) { function standardDeviation (line 85) | func standardDeviation(xs []float64) float64 { function variance (line 89) | func variance(vector []float64) float64 { function relativize (line 105) | func relativize(data []float64) []float64 { FILE: 27_code-in-process/65_accepting-credit-cards/01_basic-setup/routes.go function init (line 11) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/65_accepting-credit-cards/02_customizing_UI/routes.go function init (line 11) | func init() { function handleIndex (line 16) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/65_accepting-credit-cards/03_stripe-token/routes.go function init (line 12) | func init() { function handleIndex (line 19) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handlePayment (line 27) | func handlePayment(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/65_accepting-credit-cards/04_err-because-of-app-engine/routes.go function init (line 13) | func init() { function handleIndex (line 20) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handlePayment (line 28) | func handlePayment(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/65_accepting-credit-cards/04_err-because-of-app-engine/stripe.go function init (line 10) | func init() { function chargeAccount (line 14) | func chargeAccount(ctx context.Context, stripeToken string) error { FILE: 27_code-in-process/65_accepting-credit-cards/05_charging/routes.go function init (line 13) | func init() { function handleIndex (line 20) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handlePayment (line 28) | func handlePayment(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/65_accepting-credit-cards/05_charging/stripe.go function init (line 11) | func init() { function chargeAccount (line 15) | func chargeAccount(ctx context.Context, stripeToken string) error { FILE: 27_code-in-process/65_accepting-credit-cards/06_idempotent/routes.go function init (line 14) | func init() { function handlePayment (line 20) | func handlePayment(res http.ResponseWriter, req *http.Request) { function handleIndex (line 35) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/65_accepting-credit-cards/06_idempotent/stripe.go function init (line 15) | func init() { function chargeAccount (line 19) | func chargeAccount(ctx context.Context, stripeToken string) error { FILE: 27_code-in-process/65_accepting-credit-cards/07_complete/routes.go function init (line 14) | func init() { function handlePayment (line 20) | func handlePayment(res http.ResponseWriter, req *http.Request) { function handleIndex (line 35) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/65_accepting-credit-cards/07_complete/stripe.go function init (line 15) | func init() { function chargeAccount (line 19) | func chargeAccount(ctx context.Context, stripeToken string) error { FILE: 27_code-in-process/66_authentication_OAUTH/01_app-engine-auth_REVIEW/main.go function init (line 11) | func init() { function index (line 16) | func index(res http.ResponseWriter, req *http.Request) { function admin (line 29) | func admin(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/01_cookie_REVIEW/main.go function main (line 9) | func main() { function foo (line 14) | func foo(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/02_gorilla_REVIEW_photo-blog/01_simple/main.go function main (line 13) | func main() { function foo (line 18) | func foo(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/02_gorilla_REVIEW_photo-blog/02_photo-blog/main.go function init (line 20) | func init() { function main (line 24) | func main() { function index (line 33) | func index(res http.ResponseWriter, req *http.Request) { function logout (line 53) | func logout(res http.ResponseWriter, req *http.Request) { function login (line 60) | func login(res http.ResponseWriter, req *http.Request) { function uploadPhoto (line 72) | func uploadPhoto(src multipart.File, hdr *multipart.FileHeader, session ... function getSha (line 84) | func getSha(src multipart.File) string { function addPhoto (line 90) | func addPhoto(fName string, session *sessions.Session) { function getPhotos (line 97) | func getPhotos(session *sessions.Session) []string { FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/api.go function checkUserName (line 18) | func checkUserName(res http.ResponseWriter, req *http.Request, _ httprou... function createUser (line 37) | func createUser(res http.ResponseWriter, req *http.Request, _ httprouter... function loginProcess (line 63) | func loginProcess(res http.ResponseWriter, req *http.Request, _ httprout... function createSession (line 83) | func createSession(res http.ResponseWriter, req *http.Request, user User) { function logout (line 113) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function tweetProcess (line 139) | func tweetProcess(res http.ResponseWriter, req *http.Request, _ httprout... function follow (line 171) | func follow(res http.ResponseWriter, req *http.Request, ps httprouter.Pa... function unfollow (line 210) | func unfollow(res http.ResponseWriter, req *http.Request, ps httprouter.... FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/email.go function followedEmail (line 11) | func followedEmail(w http.ResponseWriter, r *http.Request, email string) { constant confirmMessage (line 24) | confirmMessage = ` FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/following.go function following (line 9) | func following(follower, followee string, req *http.Request) (bool, erro... FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/main.go function init (line 16) | func init() { function home (line 43) | func home(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function user (line 64) | func user(res http.ResponseWriter, req *http.Request, ps httprouter.Para... function fing (line 93) | func fing(res http.ResponseWriter, req *http.Request, _ httprouter.Param... function fingme (line 123) | func fingme(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function login (line 151) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function signup (line 155) | func signup(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/model.go type User (line 5) | type User struct type SessionData (line 11) | type SessionData struct type Tweet (line 21) | type Tweet struct type F (line 27) | type F struct FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/session.go function getSession (line 9) | func getSession(req *http.Request) (*memcache.Item, error) { FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/template.go function serveTemplate (line 8) | func serveTemplate(res http.ResponseWriter, req *http.Request, templateN... FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/03_memcache_REVIEW_twitter/tweets.go function putTweet (line 9) | func putTweet(req *http.Request, user *User, tweet *Tweet) error { function getTweets (line 17) | func getTweets(req *http.Request, user *User) ([]Tweet, error) { FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/04_bcrypt/01/main.go function main (line 8) | func main() { FILE: 27_code-in-process/66_authentication_OAUTH/02_manual-auth/04_bcrypt/02/main.go function main (line 8) | func main() { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/01_authorization-code/login.go constant redirectURI (line 15) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 16) | githubAPIURL = "https://api.github.com" function init (line 18) | func init() { function handleIndex (line 24) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 39) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 61) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/01_authorization-code/session.go type Session (line 14) | type Session struct function getSession (line 20) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 44) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/02_access-token/login.go constant redirectURI (line 18) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 19) | githubAPIURL = "https://api.github.com" function init (line 21) | func init() { function handleIndex (line 27) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 42) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 64) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { function getAccessToken (line 88) | func getAccessToken(ctx context.Context, state, code string) (string, er... FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/02_access-token/session.go type Session (line 14) | type Session struct function getSession (line 20) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 44) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/03_url-ParseQuery/login.go constant redirectURI (line 18) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 19) | githubAPIURL = "https://api.github.com" function init (line 21) | func init() { function handleIndex (line 27) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 42) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 64) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { function getAccessToken (line 88) | func getAccessToken(ctx context.Context, state, code string) (string, er... FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/03_url-ParseQuery/session.go type Session (line 14) | type Session struct function getSession (line 20) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 44) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/04_user-email/login.go constant redirectURI (line 19) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 20) | githubAPIURL = "https://api.github.com" function init (line 22) | func init() { function handleIndex (line 28) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 43) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 65) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { function getAccessToken (line 96) | func getAccessToken(ctx context.Context, state, code string) (string, er... function getEmail (line 113) | func getEmail(ctx context.Context, accessToken string) (string, error) { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/04_user-email/session.go type Session (line 14) | type Session struct function getSession (line 20) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 44) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/05_configuration_scheduled-tasks_cron/login.go function init (line 10) | func init() { function handleIndex (line 14) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/05_configuration_scheduled-tasks_cron/scheduled.go function init (line 10) | func init() { function handleScheduleExample (line 14) | func handleScheduleExample(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/06-complete/github.go constant redirectURI (line 18) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 19) | githubAPIURL = "https://api.github.com" function init (line 23) | func init() { type GithubAPI (line 49) | type GithubAPI struct method getUsername (line 65) | func (api *GithubAPI) getUsername() (string, error) { method getAccessToken (line 84) | func (api *GithubAPI) getAccessToken(state, code string) (string, erro... method getCommitSummaryStats (line 110) | func (api *GithubAPI) getCommitSummaryStats(since time.Time) (CommitSt... method getOrganizations (line 180) | func (api *GithubAPI) getOrganizations() ([]string, error) { method getRepositories (line 198) | func (api *GithubAPI) getRepositories(organization string) ([]string, ... method getUserCommitShas (line 214) | func (api *GithubAPI) getUserCommitShas(organization, repository strin... method getCommitStats (line 234) | func (api *GithubAPI) getCommitStats(organization, repository, sha str... method makeAPIRequest (line 252) | func (api *GithubAPI) makeAPIRequest(endpoint string, values url.Value... type CommitStats (line 55) | type CommitStats struct function NewGithubAPI (line 59) | func NewGithubAPI(ctx context.Context) *GithubAPI { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/06-complete/login.go function init (line 16) | func init() { function handleIndex (line 23) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 38) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 60) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { function handleGithubInfo (line 96) | func handleGithubInfo(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/06-complete/scheduled.go function init (line 10) | func init() { function handleScheduleExample (line 14) | func handleScheduleExample(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/66_authentication_OAUTH/03_oauth-github/06-complete/session.go type Session (line 14) | type Session struct function getSession (line 21) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 45) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/66_authentication_OAUTH/05_oauth-google/routes.go function init (line 27) | func init() { function handleIndex (line 35) | func handleIndex(res http.ResponseWriter, req *http.Request, _ httproute... function handleLogin (line 45) | func handleLogin(res http.ResponseWriter, req *http.Request, _ httproute... function handleAuthorize (line 75) | func handleAuthorize(res http.ResponseWriter, req *http.Request, _ httpr... FILE: 27_code-in-process/66_authentication_OAUTH/05_oauth-google/session.go constant cookieName (line 12) | cookieName = "sessionid" type session (line 14) | type session struct function getSession (line 19) | func getSession(ctx context.Context, req *http.Request) session { function putSession (line 43) | func putSession(ctx context.Context, res http.ResponseWriter, s session)... FILE: 27_code-in-process/66_authentication_OAUTH/08_oauth-dropbox/routes.go function init (line 19) | func init() { function handleIndex (line 27) | func handleIndex(res http.ResponseWriter, req *http.Request, _ httproute... function handleLogin (line 37) | func handleLogin(res http.ResponseWriter, req *http.Request, _ httproute... type dropboxData (line 61) | type dropboxData struct function handleAuthorize (line 67) | func handleAuthorize(res http.ResponseWriter, req *http.Request, _ httpr... function getToken (line 85) | func getToken(ctx context.Context, code string) (*dropboxData, error) { FILE: 27_code-in-process/66_authentication_OAUTH/08_oauth-dropbox/session.go constant cookieName (line 12) | cookieName = "sessionid" type session (line 14) | type session struct function getSession (line 19) | func getSession(ctx context.Context, req *http.Request) session { function putSession (line 43) | func putSession(ctx context.Context, res http.ResponseWriter, s session)... FILE: 27_code-in-process/67_digital-ocean_aerospike/01_helloWorld/testServer.go function main (line 8) | func main() { function index (line 13) | func index(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/67_digital-ocean_aerospike/02_fullsite/main.go type user (line 18) | type user struct function main (line 28) | func main() { function loadUsers (line 60) | func loadUsers() { function saveUsers (line 78) | func saveUsers() { function index (line 90) | func index(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function loginPage (line 110) | func loginPage(res http.ResponseWriter, req *http.Request, _ httprouter.... function login (line 119) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function logout (line 141) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function createPage (line 149) | func createPage(res http.ResponseWriter, req *http.Request, _ httprouter... function create (line 158) | func create(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/67_digital-ocean_aerospike/03-aerospike/main.go type user (line 16) | type user struct function main (line 25) | func main() { function index (line 54) | func index(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function loginPage (line 92) | func loginPage(res http.ResponseWriter, req *http.Request, _ httprouter.... function login (line 101) | func login(res http.ResponseWriter, req *http.Request, _ httprouter.Para... function logout (line 149) | func logout(res http.ResponseWriter, req *http.Request, _ httprouter.Par... function createPage (line 157) | func createPage(res http.ResponseWriter, req *http.Request, _ httprouter... function create (line 166) | func create(res http.ResponseWriter, req *http.Request, _ httprouter.Par... FILE: 27_code-in-process/68_task-queue/01_delay/delayed.go function init (line 11) | func init() { function runLater (line 15) | func runLater(ctx context.Context) { FILE: 27_code-in-process/68_task-queue/01_delay/routes.go function init (line 9) | func init() { function handleIndex (line 13) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/68_task-queue/02_delay-cron/delayed.go function init (line 11) | func init() { function runLater (line 15) | func runLater(ctx context.Context) { FILE: 27_code-in-process/68_task-queue/02_delay-cron/routes.go function init (line 8) | func init() { function handleIndex (line 12) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/68_task-queue/02_delay-cron/scheduled.go function init (line 10) | func init() { function handleScheduleExample (line 14) | func handleScheduleExample(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/68_task-queue/03_github/github.go constant redirectURI (line 17) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 18) | githubAPIURL = "https://api.github.com" function init (line 22) | func init() { type GithubAPI (line 49) | type GithubAPI struct method getUsername (line 65) | func (api *GithubAPI) getUsername() (string, error) { method getAccessToken (line 84) | func (api *GithubAPI) getAccessToken(state, code string) (string, erro... method getCommitSummaryStats (line 110) | func (api *GithubAPI) getCommitSummaryStats(since time.Time) (CommitSt... method getOrganizations (line 180) | func (api *GithubAPI) getOrganizations() ([]string, error) { method getRepositories (line 198) | func (api *GithubAPI) getRepositories(organization string) ([]string, ... method getUserCommitShas (line 214) | func (api *GithubAPI) getUserCommitShas(organization, repository strin... method getCommitStats (line 234) | func (api *GithubAPI) getCommitStats(organization, repository, sha str... method makeAPIRequest (line 252) | func (api *GithubAPI) makeAPIRequest(endpoint string, values url.Value... type CommitStats (line 55) | type CommitStats struct function NewGithubAPI (line 59) | func NewGithubAPI(ctx context.Context) *GithubAPI { FILE: 27_code-in-process/68_task-queue/03_github/login.go function init (line 16) | func init() { function handleIndex (line 23) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 38) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 60) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { function handleGithubInfo (line 96) | func handleGithubInfo(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/68_task-queue/03_github/session.go type Session (line 14) | type Session struct function getSession (line 21) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 45) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/68_task-queue/04_github-goroutines/github.go constant redirectURI (line 17) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 18) | githubAPIURL = "https://api.github.com" function init (line 22) | func init() { type GithubAPI (line 49) | type GithubAPI struct method getUsername (line 65) | func (api *GithubAPI) getUsername() (string, error) { method getAccessToken (line 84) | func (api *GithubAPI) getAccessToken(state, code string) (string, erro... method getCommitSummaryStats (line 110) | func (api *GithubAPI) getCommitSummaryStats(since time.Time) (CommitSt... method getOrganizations (line 180) | func (api *GithubAPI) getOrganizations() ([]string, error) { method getRepositories (line 198) | func (api *GithubAPI) getRepositories(organization string) ([]string, ... method getUserCommitShas (line 214) | func (api *GithubAPI) getUserCommitShas(organization, repository strin... method getCommitStats (line 234) | func (api *GithubAPI) getCommitStats(organization, repository, sha str... method makeAPIRequest (line 252) | func (api *GithubAPI) makeAPIRequest(endpoint string, values url.Value... type CommitStats (line 55) | type CommitStats struct function NewGithubAPI (line 59) | func NewGithubAPI(ctx context.Context) *GithubAPI { FILE: 27_code-in-process/68_task-queue/04_github-goroutines/login.go function init (line 16) | func init() { function handleIndex (line 23) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 38) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 60) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { function handleGithubInfo (line 96) | func handleGithubInfo(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/68_task-queue/04_github-goroutines/session.go type Session (line 14) | type Session struct function getSession (line 21) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 45) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/68_task-queue/05_github-cron/github.go constant redirectURI (line 17) | redirectURI = "http://localhost:8080/oauth2callback" constant githubAPIURL (line 18) | githubAPIURL = "https://api.github.com" function init (line 22) | func init() { type GithubAPI (line 48) | type GithubAPI struct method getUsername (line 64) | func (api *GithubAPI) getUsername() (string, error) { method getAccessToken (line 83) | func (api *GithubAPI) getAccessToken(state, code string) (string, erro... method getCommitSummaryStats (line 109) | func (api *GithubAPI) getCommitSummaryStats(since time.Time) (CommitSt... method getOrganizations (line 179) | func (api *GithubAPI) getOrganizations() ([]string, error) { method getRepositories (line 197) | func (api *GithubAPI) getRepositories(organization string) ([]string, ... method getUserCommitShas (line 213) | func (api *GithubAPI) getUserCommitShas(organization, repository strin... method getCommitStats (line 233) | func (api *GithubAPI) getCommitStats(organization, repository, sha str... method makeAPIRequest (line 251) | func (api *GithubAPI) makeAPIRequest(endpoint string, values url.Value... type CommitStats (line 54) | type CommitStats struct function NewGithubAPI (line 58) | func NewGithubAPI(ctx context.Context) *GithubAPI { FILE: 27_code-in-process/68_task-queue/05_github-cron/login.go function init (line 16) | func init() { function handleIndex (line 23) | func handleIndex(res http.ResponseWriter, req *http.Request) { function handleGithubLogin (line 38) | func handleGithubLogin(res http.ResponseWriter, req *http.Request) { function handleOauth2Callback (line 60) | func handleOauth2Callback(res http.ResponseWriter, req *http.Request) { function handleGithubInfo (line 96) | func handleGithubInfo(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/68_task-queue/05_github-cron/scheduled.go function init (line 10) | func init() { function handleScheduleExample (line 14) | func handleScheduleExample(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/68_task-queue/05_github-cron/session.go type Session (line 14) | type Session struct function getSession (line 21) | func getSession(ctx context.Context, req *http.Request) Session { function putSession (line 45) | func putSession(ctx context.Context, res http.ResponseWriter, session Se... FILE: 27_code-in-process/90_append-to-file/01-get-files/main.go function main (line 10) | func main() { FILE: 27_code-in-process/90_append-to-file/02-apply/main.go function main (line 10) | func main() { FILE: 27_code-in-process/97_temp/01/main.go function main (line 9) | func main() { FILE: 27_code-in-process/97_temp/02/main.go function init (line 7) | func init() { function main (line 11) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week10/dropbox-api/routes.go function init (line 19) | func init() { type dropboxData (line 27) | type dropboxData struct function getToken (line 33) | func getToken(ctx context.Context, code string) (*dropboxData, error) { function handleAuthorize (line 55) | func handleAuthorize(res http.ResponseWriter, req *http.Request, _ httpr... function handleLogin (line 73) | func handleLogin(res http.ResponseWriter, req *http.Request, _ httproute... function handleIndex (line 97) | func handleIndex(res http.ResponseWriter, req *http.Request, _ httproute... FILE: 27_code-in-process/98-good-student-code/daniel/Week10/dropbox-api/session.go constant cookieName (line 12) | cookieName = "sessionid" type session (line 14) | type session struct function getSession (line 19) | func getSession(ctx context.Context, req *http.Request) session { function putSession (line 44) | func putSession(ctx context.Context, res http.ResponseWriter, s session)... FILE: 27_code-in-process/98-good-student-code/daniel/Week10/filebrowser/browse.go type browseModel (line 14) | type browseModel struct function handlePath (line 21) | func handlePath(res http.ResponseWriter, req *http.Request, p httprouter... FILE: 27_code-in-process/98-good-student-code/daniel/Week10/filebrowser/credentials.go function handleCredentials (line 12) | func handleCredentials(res http.ResponseWriter, req *http.Request, _ htt... function handleLogin (line 22) | func handleLogin(res http.ResponseWriter, req *http.Request, _ httproute... FILE: 27_code-in-process/98-good-student-code/daniel/Week10/filebrowser/routes.go function init (line 12) | func init() { FILE: 27_code-in-process/98-good-student-code/daniel/Week10/filebrowser/session.go constant cookieName (line 12) | cookieName = "sessionid" type session (line 14) | type session struct function getSession (line 20) | func getSession(ctx context.Context, req *http.Request) session { function putSession (line 45) | func putSession(ctx context.Context, res http.ResponseWriter, s session)... FILE: 27_code-in-process/98-good-student-code/daniel/Week10/filebrowser/storage.go constant delimiter (line 18) | delimiter = "/" type file (line 20) | type file struct function getCloudContext (line 26) | func getCloudContext(aeCtx context.Context, credentials string) (context... function listFiles (line 46) | func listFiles(cctx context.Context, bucket, path string) ([]string, []s... function getFile (line 66) | func getFile(cctx context.Context, bucket, path string) (io.ReadCloser, ... FILE: 27_code-in-process/98-good-student-code/daniel/Week10/payment/routes.go function init (line 16) | func init() { function handlePayment (line 24) | func handlePayment(res http.ResponseWriter, req *http.Request, _ httprou... function handleIndex (line 35) | func handleIndex(res http.ResponseWriter, req *http.Request, _ httproute... FILE: 27_code-in-process/98-good-student-code/daniel/Week10/payment/stripe.go constant secretKey (line 10) | secretKey = "sk_test_C4cVqiMxarOi7drYWgUsXmLr" function chargeAccount (line 12) | func chargeAccount(ctx context.Context, stripeToken string) error { FILE: 27_code-in-process/98-good-student-code/daniel/Week2/backgroundPreview/backgroundPreview.js function changeBackground (line 1) | function changeBackground(e) { FILE: 27_code-in-process/98-good-student-code/daniel/Week2/changingBackground/changingBackground.js function changeBackground (line 10) | function changeBackground(delta) { function preload (line 25) | function preload() { FILE: 27_code-in-process/98-good-student-code/daniel/Week2/destructButton/destructButton.js function countdown (line 4) | function countdown() { function randomizeHitButton (line 10) | function randomizeHitButton() { function lerp (line 16) | function lerp(start, end, interval) { function setTimer (line 20) | function setTimer() { function hitButton (line 62) | function hitButton() { function abort (line 70) | function abort() { FILE: 27_code-in-process/98-good-student-code/daniel/Week2/magic8ball/magic-ball.js function changeImage (line 1) | function changeImage() { FILE: 27_code-in-process/98-good-student-code/daniel/Week2/whackAMole/whackamole.js function findMoleSize (line 11) | function findMoleSize(size) { function sizeMoles (line 27) | function sizeMoles() { function createMoles (line 47) | function createMoles(size) { function clearMoles (line 66) | function clearMoles() { function moveBossRandom (line 79) | function moveBossRandom() { function getRelativePosition (line 86) | function getRelativePosition(element, relativeTo) { function moveBossFarthest (line 97) | function moveBossFarthest() { function hitBoss (line 115) | function hitBoss() { function startBoss (line 135) | function startBoss() { function updateScores (line 147) | function updateScores() { function playHit (line 152) | function playHit() { function onClickMole (line 162) | function onClickMole(e) { function randomMole (line 181) | function randomMole() { function onLoad (line 202) | function onLoad() { FILE: 27_code-in-process/98-good-student-code/daniel/Week3/audioPlayer/audioPlayer.js function onClick (line 7) | function onClick(e) { function onSongEnd (line 30) | function onSongEnd() { function onLoad (line 37) | function onLoad() { FILE: 27_code-in-process/98-good-student-code/daniel/Week3/hoverPreview/hoverPreview.js function onEnter (line 5) | function onEnter(event) { function onMove (line 11) | function onMove(event) { function onLeave (line 17) | function onLeave(event) { FILE: 27_code-in-process/98-good-student-code/daniel/Week3/loadImage/loadImage.js function onImageLoad (line 28) | function onImageLoad() { function onClick (line 33) | function onClick(e) { function onPageLoad (line 46) | function onPageLoad() { FILE: 27_code-in-process/98-good-student-code/daniel/Week4/flickrFeed/flickr.js function formatImage (line 1) | function formatImage() { function jsonFlickrFeed (line 8) | function jsonFlickrFeed(data) { function onClick (line 17) | function onClick(target) { function onCloseClick (line 27) | function onCloseClick(target) { FILE: 27_code-in-process/98-good-student-code/daniel/Week4/liveSearch/liveSearch.js function onKeyUp (line 3) | function onKeyUp() { function positionPeople (line 17) | function positionPeople() { function getNames (line 30) | function getNames() { function onLoad (line 43) | function onLoad() { FILE: 27_code-in-process/98-good-student-code/daniel/Week5/web-components-training-exercises/breaking-shadow-dom-polyfill/webcomponents.js function detectEval (line 99) | function detectEval() { function assert (line 114) | function assert(b) { function mixin (line 120) | function mixin(to, from) { function mixinStatics (line 128) | function mixinStatics(to, from) { function oneOf (line 145) | function oneOf(object, propertyNames) { function defineNonEnumerableDataProperty (line 156) | function defineNonEnumerableDataProperty(object, name, value) { function getWrapperConstructor (line 161) | function getWrapperConstructor(node) { function addForwardingProperties (line 177) | function addForwardingProperties(nativePrototype, wrapperPrototype) { function registerInstanceProperties (line 180) | function registerInstanceProperties(wrapperPrototype, instanceObject) { function isEventHandlerName (line 190) | function isEventHandlerName(name) { function isIdentifierName (line 193) | function isIdentifierName(name) { function getGetter (line 196) | function getGetter(name) { function getSetter (line 201) | function getSetter(name) { function getMethod (line 206) | function getMethod(name) { function getDescriptor (line 211) | function getDescriptor(source, name) { function installProperty (line 222) | function installProperty(source, target, allowMethod, opt_blacklist) { function register (line 252) | function register(nativeConstructor, wrapperConstructor, opt_instance) { function registerInternal (line 257) | function registerInternal(nativePrototype, wrapperConstructor, opt_insta... function isWrapperFor (line 267) | function isWrapperFor(wrapperConstructor, nativeConstructor) { function registerObject (line 270) | function registerObject(object) { function createWrapperConstructor (line 277) | function createWrapperConstructor(superWrapperConstructor) { function isWrapper (line 286) | function isWrapper(object) { function isNative (line 289) | function isNative(object) { function wrap (line 292) | function wrap(impl) { function unwrap (line 297) | function unwrap(wrapper) { function unsafeUnwrap (line 302) | function unsafeUnwrap(wrapper) { function setWrapper (line 305) | function setWrapper(impl, wrapper) { function unwrapIfNeeded (line 309) | function unwrapIfNeeded(object) { function wrapIfNeeded (line 312) | function wrapIfNeeded(object) { function rewrap (line 315) | function rewrap(node, wrapper) { function defineGetter (line 326) | function defineGetter(constructor, name, getter) { function defineWrapGetter (line 330) | function defineWrapGetter(constructor, name) { function forwardMethodsToWrapper (line 335) | function forwardMethodsToWrapper(constructors, names) { function newSplice (line 369) | function newSplice(index, removed, addedCount) { function ArraySplice (line 380) | function ArraySplice() {} function handle (line 529) | function handle() { function setEndOfMicrotask (line 551) | function setEndOfMicrotask(func) { function scheduleCallback (line 567) | function scheduleCallback(observer) { function notifyObservers (line 575) | function notifyObservers() { function MutationRecord (line 594) | function MutationRecord(type, target) { function registerTransientObservers (line 605) | function registerTransientObservers(ancestor, node) { function removeTransientObserversFor (line 615) | function removeTransientObserversFor(observer) { function enqueueMutation (line 626) | function enqueueMutation(target, type, data) { function MutationObserverOptions (line 666) | function MutationObserverOptions(options) { function MutationObserver (line 691) | function MutationObserver(callback) { function Registration (line 738) | function Registration(observer, target, options) { function TreeScope (line 775) | function TreeScope(root, parent) { method renderer (line 780) | get renderer() { function setTreeScope (line 793) | function setTreeScope(node, treeScope) { function getTreeScope (line 804) | function getTreeScope(node) { function isShadowRoot (line 841) | function isShadowRoot(node) { function rootOfNode (line 844) | function rootOfNode(node) { function getEventPath (line 847) | function getEventPath(node, event) { function eventMustBeStopped (line 879) | function eventMustBeStopped(event) { function isShadowInsertionPoint (line 895) | function isShadowInsertionPoint(node) { function getDestinationInsertionPoints (line 898) | function getDestinationInsertionPoints(node) { function eventRetargetting (line 901) | function eventRetargetting(path, currentTarget) { function getTreeScopeAncestors (line 914) | function getTreeScopeAncestors(treeScope) { function lowestCommonInclusiveAncestor (line 921) | function lowestCommonInclusiveAncestor(tsA, tsB) { function getTreeScopeRoot (line 932) | function getTreeScopeRoot(ts) { function relatedTargetResolution (line 936) | function relatedTargetResolution(event, currentTarget, relatedTarget) { function inSameTree (line 953) | function inSameTree(a, b) { function dispatchOriginalEvent (line 961) | function dispatchOriginalEvent(originalEvent) { function isLoadLikeEvent (line 971) | function isLoadLikeEvent(event) { function dispatchEvent (line 980) | function dispatchEvent(event, originalWrapperTarget) { function dispatchCapturing (line 1017) | function dispatchCapturing(event, eventPath, win, overrideTarget) { function dispatchAtTarget (line 1027) | function dispatchAtTarget(event, eventPath, win, overrideTarget) { function dispatchBubbling (line 1032) | function dispatchBubbling(event, eventPath, win, overrideTarget) { function invoke (line 1041) | function invoke(currentTarget, event, phase, eventPath, overrideTarget) { function Listener (line 1097) | function Listener(type, handler, capture) { method removed (line 1106) | get removed() { function Event (line 1118) | function Event(type, options) { method target (line 1130) | get target() { method currentTarget (line 1133) | get currentTarget() { method eventPhase (line 1136) | get eventPhase() { method path (line 1139) | get path() { function unwrapOptions (line 1153) | function unwrapOptions(options) { function registerGenericEvent (line 1161) | function registerGenericEvent(name, SuperEvent, prototype) { method relatedTarget (line 1180) | get relatedTarget() { function getInitFunction (line 1186) | function getInitFunction(name, relatedTargetIndex) { function constructEvent (line 1210) | function constructEvent(OriginalEvent, name, type, options) { function BeforeUnloadEvent (line 1259) | function BeforeUnloadEvent(impl) { method returnValue (line 1264) | get returnValue() { method returnValue (line 1267) | set returnValue(v) { function isValidListener (line 1272) | function isValidListener(fun) { function isMutationEvent (line 1276) | function isMutationEvent(type) { function EventTarget (line 1292) | function EventTarget(impl) { function getTargetToListenAt (line 1304) | function getTargetToListenAt(wrapper) { function hasListener (line 1362) | function hasListener(node, type) { function hasListenerInAncestors (line 1371) | function hasListenerInAncestors(target, type) { function wrapEventTargetMethods (line 1378) | function wrapEventTargetMethods(constructors) { function elementFromPoint (line 1382) | function elementFromPoint(self, document, x, y) { function getEventHandlerGetter (line 1391) | function getEventHandlerGetter(name) { function getEventHandlerSetter (line 1397) | function getEventHandlerSetter(name) { function nonEnum (line 1451) | function nonEnum(obj, prop) { function Touch (line 1454) | function Touch(impl) { method target (line 1458) | get target() { function TouchList (line 1473) | function TouchList() { function wrapTouchList (line 1482) | function wrapTouchList(nativeTouchList) { function TouchEvent (line 1490) | function TouchEvent(impl) { method touches (line 1495) | get touches() { method targetTouches (line 1498) | get targetTouches() { method changedTouches (line 1501) | get changedTouches() { function nonEnum (line 1520) | function nonEnum(obj, prop) { function NodeList (line 1523) | function NodeList() { function wrapNodeList (line 1533) | function wrapNodeList(list) { function addWrapNodeListMethod (line 1542) | function addWrapNodeListMethod(wrapperConstructor, name) { function assertIsNodeWrapper (line 1576) | function assertIsNodeWrapper(node) { function createOneElementNodeList (line 1579) | function createOneElementNodeList(node) { function enqueueRemovalForInsertedNodes (line 1586) | function enqueueRemovalForInsertedNodes(node, parent, nodes) { function enqueueRemovalForInsertedDocumentFragment (line 1593) | function enqueueRemovalForInsertedDocumentFragment(df, nodes) { function collectNodes (line 1598) | function collectNodes(node, parentNode, previousNode, nextNode) { function collectNodesNative (line 1627) | function collectNodesNative(node) { function collectNodesForDocumentFragment (line 1634) | function collectNodesForDocumentFragment(node) { function snapshotNodeList (line 1644) | function snapshotNodeList(nodeList) { function nodeWasAdded (line 1647) | function nodeWasAdded(node, treeScope) { function nodesWereAdded (line 1651) | function nodesWereAdded(nodes, parent) { function nodeWasRemoved (line 1657) | function nodeWasRemoved(node) { function nodesWereRemoved (line 1660) | function nodesWereRemoved(nodes) { function ensureSameOwnerDocument (line 1665) | function ensureSameOwnerDocument(parent, child) { function adoptNodesIfNeeded (line 1669) | function adoptNodesIfNeeded(owner, nodes) { function unwrapNodesForInsertion (line 1677) | function unwrapNodesForInsertion(owner, nodes) { function clearChildNodes (line 1687) | function clearChildNodes(wrapper) { function removeAllChildNodes (line 1698) | function removeAllChildNodes(wrapper) { function invalidateParent (line 1722) | function invalidateParent(node) { function cleanupNodes (line 1726) | function cleanupNodes(nodes) { function cloneNode (line 1734) | function cloneNode(node, deep, opt_doc) { function contains (line 1750) | function contains(self, child) { function Node (line 1758) | function Node(original) { method parentNode (line 1930) | get parentNode() { method firstChild (line 1933) | get firstChild() { method lastChild (line 1936) | get lastChild() { method nextSibling (line 1939) | get nextSibling() { method previousSibling (line 1942) | get previousSibling() { method parentElement (line 1945) | get parentElement() { method textContent (line 1952) | get textContent() { method textContent (line 1961) | set textContent(textContent) { method childNodes (line 1982) | get childNodes() { function filterNodeList (line 2064) | function filterNodeList(list, index, result, deep) { function shimSelector (line 2078) | function shimSelector(selector) { function shimMatchesSelector (line 2081) | function shimMatchesSelector(selector) { function findOne (line 2084) | function findOne(node, selector) { function matchesSelector (line 2094) | function matchesSelector(el, selector) { function matchesTagName (line 2098) | function matchesTagName(el, localName, localNameLowerCase) { function matchesEveryThing (line 2102) | function matchesEveryThing() { function matchesLocalNameOnly (line 2105) | function matchesLocalNameOnly(el, ns, localName) { function matchesNameSpace (line 2108) | function matchesNameSpace(el, ns) { function matchesLocalNameNS (line 2111) | function matchesLocalNameNS(el, ns, localName) { function findElements (line 2114) | function findElements(node, index, result, p, arg0, arg1) { function querySelectorAllFiltered (line 2123) | function querySelectorAllFiltered(p, index, result, selector, deep) { function getElementsByTagNameFiltered (line 2179) | function getElementsByTagNameFiltered(p, index, result, localName, lower... function getElementsByTagNameNSFiltered (line 2194) | function getElementsByTagNameNSFiltered(p, index, result, ns, localName) { function forwardElement (line 2238) | function forwardElement(node) { function backwardsElement (line 2244) | function backwardsElement(node) { method firstElementChild (line 2251) | get firstElementChild() { method lastElementChild (line 2254) | get lastElementChild() { method childElementCount (line 2257) | get childElementCount() { method children (line 2264) | get children() { method nextElementSibling (line 2279) | get nextElementSibling() { method previousElementSibling (line 2282) | get previousElementSibling() { function CharacterData (line 2305) | function CharacterData(node) { method nodeValue (line 2310) | get nodeValue() { method nodeValue (line 2313) | set nodeValue(data) { method textContent (line 2316) | get textContent() { method textContent (line 2319) | set textContent(value) { method data (line 2322) | get data() { method data (line 2325) | set data(value) { function toUInt32 (line 2343) | function toUInt32(x) { function Text (line 2347) | function Text(node) { function getClass (line 2375) | function getClass(el) { function enqueueClassAttributeChange (line 2378) | function enqueueClassAttributeChange(el, oldValue) { function invalidateClass (line 2385) | function invalidateClass(el) { function changeClass (line 2388) | function changeClass(tokenList, method, args) { function invalidateRendererBasedOnAttribute (line 2435) | function invalidateRendererBasedOnAttribute(element, name) { function enqueAttributeChange (line 2441) | function enqueAttributeChange(element, name, oldValue) { function Element (line 2449) | function Element(node) { method shadowRoot (line 2461) | get shadowRoot() { method classList (line 2476) | get classList() { method className (line 2486) | get className() { method className (line 2489) | set className(v) { method id (line 2492) | get id() { method id (line 2495) | set id(v) { function escapeReplace (line 2536) | function escapeReplace(c) { function escapeAttr (line 2554) | function escapeAttr(s) { function escapeData (line 2557) | function escapeData(s) { function makeSet (line 2560) | function makeSet(arr) { function needsSelfClosingSlash (line 2570) | function needsSelfClosingSlash(node) { function getOuterHTML (line 2575) | function getOuterHTML(node, parentNode) { function getInnerHTML (line 2603) | function getInnerHTML(node) { function setInnerHTML (line 2611) | function setInnerHTML(node, value, opt_tagName) { function HTMLElement (line 2624) | function HTMLElement(node) { method innerHTML (line 2629) | get innerHTML() { method innerHTML (line 2632) | set innerHTML(value) { method outerHTML (line 2653) | get outerHTML() { method outerHTML (line 2656) | set outerHTML(value) { method hidden (line 2693) | get hidden() { method hidden (line 2696) | set hidden(v) { function frag (line 2704) | function frag(contextElement, html) { function getter (line 2714) | function getter(name) { function getterRequiresRendering (line 2720) | function getterRequiresRendering(name) { function getterAndSetterRequiresRendering (line 2724) | function getterAndSetterRequiresRendering(name) { function methodRequiresRendering (line 2736) | function methodRequiresRendering(name) { function HTMLCanvasElement (line 2760) | function HTMLCanvasElement(node) { function HTMLContentElement (line 2779) | function HTMLContentElement(node) { method select (line 2785) | get select() { method select (line 2788) | set select(value) { function HTMLFormElement (line 2807) | function HTMLFormElement(node) { method elements (line 2812) | get elements() { function HTMLImageElement (line 2826) | function HTMLImageElement(node) { function Image (line 2831) | function Image(width, height) { function HTMLShadowElement (line 2852) | function HTMLShadowElement(node) { function getTemplateContentsOwner (line 2870) | function getTemplateContentsOwner(doc) { function extractContent (line 2882) | function extractContent(templateElement) { function HTMLTemplateElement (line 2892) | function HTMLTemplateElement(node) { method content (line 2902) | get content() { function HTMLMediaElement (line 2916) | function HTMLMediaElement(node) { function HTMLAudioElement (line 2931) | function HTMLAudioElement(node) { function Audio (line 2936) | function Audio(src) { function trimText (line 2959) | function trimText(s) { function HTMLOptionElement (line 2962) | function HTMLOptionElement(node) { method text (line 2967) | get text() { method text (line 2970) | set text(value) { method form (line 2973) | get form() { function Option (line 2978) | function Option(text, value, defaultSelected, selected) { function HTMLSelectElement (line 3002) | function HTMLSelectElement(node) { method form (line 3019) | get form() { function HTMLTableElement (line 3035) | function HTMLTableElement(node) { method caption (line 3040) | get caption() { method tHead (line 3046) | get tHead() { method tFoot (line 3055) | get tFoot() { method tBodies (line 3058) | get tBodies() { method rows (line 3064) | get rows() { function HTMLTableSectionElement (line 3083) | function HTMLTableSectionElement(node) { method rows (line 3089) | get rows() { function HTMLTableRowElement (line 3108) | function HTMLTableRowElement(node) { method cells (line 3113) | get cells() { function HTMLUnknownElement (line 3132) | function HTMLUnknownElement(node) { function SVGUseElement (line 3180) | function SVGUseElement(impl) { method instanceRoot (line 3186) | get instanceRoot() { method animatedInstanceRoot (line 3189) | get animatedInstanceRoot() { function SVGElementInstance (line 3206) | function SVGElementInstance(impl) { method correspondingElement (line 3211) | get correspondingElement() { method correspondingUseElement (line 3214) | get correspondingUseElement() { method parentNode (line 3217) | get parentNode() { method childNodes (line 3220) | get childNodes() { method firstChild (line 3223) | get firstChild() { method lastChild (line 3226) | get lastChild() { method previousSibling (line 3229) | get previousSibling() { method nextSibling (line 3232) | get nextSibling() { function CanvasRenderingContext2D (line 3249) | function CanvasRenderingContext2D(impl) { method canvas (line 3253) | get canvas() { function WebGLRenderingContext (line 3278) | function WebGLRenderingContext(impl) { method canvas (line 3282) | get canvas() { function ShadowRoot (line 3332) | function ShadowRoot(hostWrapper) { method innerHTML (line 3344) | get innerHTML() { method innerHTML (line 3347) | set innerHTML(value) { method olderShadowRoot (line 3351) | get olderShadowRoot() { method host (line 3354) | get host() { function getHost (line 3377) | function getHost(node) { function hostNodeToShadowNode (line 3384) | function hostNodeToShadowNode(refNode, offset) { function shadowNodeToHostNode (line 3400) | function shadowNodeToHostNode(node) { function Range (line 3404) | function Range(impl) { method startContainer (line 3408) | get startContainer() { method endContainer (line 3411) | get endContainer() { method commonAncestorContainer (line 3414) | get commonAncestorContainer() { function updateWrapperUpAndSideways (line 3497) | function updateWrapperUpAndSideways(wrapper) { function updateWrapperDown (line 3502) | function updateWrapperDown(wrapper) { function updateAllChildNodes (line 3506) | function updateAllChildNodes(parentNodeWrapper) { function insertBefore (line 3513) | function insertBefore(parentNodeWrapper, newChildWrapper, refChildWrappe... function remove (line 3530) | function remove(nodeWrapper) { function resetDistributedNodes (line 3545) | function resetDistributedNodes(insertionPoint) { function getDistributedNodes (line 3548) | function getDistributedNodes(insertionPoint) { function getChildNodesSnapshot (line 3553) | function getChildNodesSnapshot(node) { function renderAllPending (line 3563) | function renderAllPending() { function handleRequestAnimationFrame (line 3572) | function handleRequestAnimationFrame() { function getRendererForHost (line 3576) | function getRendererForHost(host) { function getShadowRootAncestor (line 3584) | function getShadowRootAncestor(node) { function getRendererForShadowRoot (line 3589) | function getRendererForShadowRoot(shadowRoot) { function RenderNode (line 3596) | function RenderNode(node) { function ShadowRenderer (line 3643) | function ShadowRenderer(host) { method parentRenderer (line 3661) | get parentRenderer() { function poolPopulation (line 3790) | function poolPopulation(node) { function getShadowInsertionPoint (line 3801) | function getShadowInsertionPoint(node) { function destributeNodeInto (line 3810) | function destributeNodeInto(child, insertionPoint) { function getDestinationInsertionPoints (line 3815) | function getDestinationInsertionPoints(node) { function resetDestinationInsertionPoints (line 3818) | function resetDestinationInsertionPoints(node) { function matches (line 3822) | function matches(node, contentElement) { function isFinalDestination (line 3835) | function isFinalDestination(insertionPoint, node) { function isInsertionPoint (line 3839) | function isInsertionPoint(node) { function isShadowHost (line 3842) | function isShadowHost(shadowHost) { function getShadowTrees (line 3845) | function getShadowTrees(host) { function render (line 3852) | function render(host) { function createWrapperConstructor (line 3897) | function createWrapperConstructor(name) { function Selection (line 3923) | function Selection(impl) { method anchorNode (line 3927) | get anchorNode() { method focusNode (line 3930) | get focusNode() { function TreeWalker (line 3971) | function TreeWalker(impl) { method root (line 3975) | get root() { method currentNode (line 3978) | get currentNode() { method currentNode (line 3981) | set currentNode(node) { method filter (line 3984) | get filter() { function Document (line 4035) | function Document(node) { function wrapMethod (line 4043) | function wrapMethod(name) { function adoptNodeNoRemove (line 4051) | function adoptNodeNoRemove(node, doc) { function adoptSubtree (line 4055) | function adoptSubtree(node, doc) { function adoptOlderShadowRoots (line 4062) | function adoptOlderShadowRoots(shadowRoot, doc) { function CustomElementConstructor (line 4148) | function CustomElementConstructor(node) { method implementation (line 4175) | get implementation() { method defaultView (line 4182) | get defaultView() { function DOMImplementation (line 4189) | function DOMImplementation(impl) { function wrapImplMethod (line 4197) | function wrapImplMethod(constructor, name) { function forwardImplMethod (line 4203) | function forwardImplMethod(constructor, name) { function Window (line 4232) | function Window(impl) { method document (line 4266) | get document() { function FormData (line 4297) | function FormData(formElement) { function overrideConstructor (line 4390) | function overrideConstructor(tagName) { function stylesToCssText (line 4690) | function stylesToCssText(styles, preserveComments) { function cssTextToStyle (line 4700) | function cssTextToStyle(cssText) { function cssToRules (line 4705) | function cssToRules(cssText) { function initFrame (line 4721) | function initFrame() { function inFrame (line 4729) | function inFrame(fn) { function withCssRules (line 4738) | function withCssRules(cssText, callback) { function rulesToCss (line 4755) | function rulesToCss(cssRules) { function addCssToDocument (line 4761) | function addCssToDocument(cssText) { function addOwnSheet (line 4766) | function addOwnSheet(cssText, name) { function getSheet (line 4776) | function getSheet() { function isRelativeScheme (line 4877) | function isRelativeScheme(scheme) { function invalid (line 4880) | function invalid() { function IDNAToASCII (line 4884) | function IDNAToASCII(h) { function percentEscape (line 4890) | function percentEscape(c) { function percentEscapeQuery (line 4897) | function percentEscapeQuery(c) { function parse (line 4905) | function parse(input, stateOverride, base) { function clear (line 5244) | function clear() { function jURL (line 5257) | function jURL(url, base) { method href (line 5268) | get href() { method href (line 5276) | set href(href) { method protocol (line 5280) | get protocol() { method protocol (line 5283) | set protocol(protocol) { method host (line 5287) | get host() { method host (line 5290) | set host(host) { method hostname (line 5294) | get hostname() { method hostname (line 5297) | set hostname(hostname) { method port (line 5301) | get port() { method port (line 5304) | set port(port) { method pathname (line 5308) | get pathname() { method pathname (line 5311) | set pathname(pathname) { method search (line 5316) | get search() { method search (line 5319) | set search(search) { method hash (line 5325) | get hash() { method hash (line 5328) | set hash(hash) { method origin (line 5334) | get origin() { function scheduleCallback (line 5391) | function scheduleCallback(observer) { function wrapIfNeeded (line 5398) | function wrapIfNeeded(node) { function dispatchCallbacks (line 5401) | function dispatchCallbacks() { function removeTransientObserversFor (line 5419) | function removeTransientObserversFor(observer) { function forEachAncestorAndObserverEnqueueRecord (line 5428) | function forEachAncestorAndObserverEnqueueRecord(target, callback) { function JsMutationObserver (line 5443) | function JsMutationObserver(callback) { function MutationRecord (line 5493) | function MutationRecord(type, target) { function copyMutationRecord (line 5504) | function copyMutationRecord(original) { function getRecord (line 5516) | function getRecord(type, target) { function getRecordWithOldValue (line 5519) | function getRecordWithOldValue(oldValue) { function clearRecords (line 5525) | function clearRecords() { function recordRepresentsCurrentMutation (line 5528) | function recordRepresentsCurrentMutation(record) { function selectRecord (line 5531) | function selectRecord(lastRecord, newRecord) { function Registration (line 5536) | function Registration(observer, target, options) { function whenReady (line 5686) | function whenReady(callback, doc) { function isDocumentReady (line 5694) | function isDocumentReady(doc) { function whenDocumentReady (line 5697) | function whenDocumentReady(callback, doc) { function markTargetLoaded (line 5710) | function markTargetLoaded(event) { function watchImportsLoad (line 5713) | function watchImportsLoad(callback, doc) { function isImportLoaded (line 5750) | function isImportLoaded(link) { function handleImports (line 5763) | function handleImports(nodes) { function isImport (line 5770) | function isImport(element) { function handleImport (line 5773) | function handleImport(element) { function nodeIsImport (line 6211) | function nodeIsImport(elt) { function generateScriptDataUrl (line 6214) | function generateScriptDataUrl(script) { function generateScriptContent (line 6218) | function generateScriptContent(script) { function generateSourceMapHint (line 6221) | function generateSourceMapHint(script) { function cloneStyle (line 6229) | function cloneStyle(style) { function isImportLink (line 6294) | function isImportLink(elt) { function isLinkRel (line 6297) | function isLinkRel(elt, rel) { function hasBaseURIAccessor (line 6300) | function hasBaseURIAccessor(doc) { function makeDocument (line 6303) | function makeDocument(resource, url) { function bootstrap (line 6386) | function bootstrap() { function forSubtree (line 6419) | function forSubtree(node, cb) { function findAllElements (line 6428) | function findAllElements(node, find, data) { function forRoots (line 6444) | function forRoots(node, cb) { function forDocumentTree (line 6451) | function forDocumentTree(doc, cb) { function _forDocumentTree (line 6454) | function _forDocumentTree(doc, cb, processingDocuments) { function addedNode (line 6476) | function addedNode(node) { function added (line 6479) | function added(node) { function addedSubtree (line 6485) | function addedSubtree(node) { function attachedNode (line 6492) | function attachedNode(node) { function deferMutation (line 6504) | function deferMutation(fn) { function takeMutations (line 6511) | function takeMutations() { function attached (line 6519) | function attached(element) { function _attached (line 6528) | function _attached(element) { function detachedNode (line 6538) | function detachedNode(node) { function detached (line 6544) | function detached(element) { function _detached (line 6553) | function _detached(element) { function inDocument (line 6563) | function inDocument(element) { function watchShadow (line 6573) | function watchShadow(node) { function handler (line 6583) | function handler(mutations) { function takeRecords (line 6616) | function takeRecords(node) { function observe (line 6631) | function observe(inRoot) { function upgradeDocument (line 6642) | function upgradeDocument(doc) { function upgradeDocumentTree (line 6649) | function upgradeDocumentTree(doc) { function upgrade (line 6670) | function upgrade(node) { function upgradeWithDefinition (line 6683) | function upgradeWithDefinition(element, definition) { function implementPrototype (line 6696) | function implementPrototype(element, definition) { function customMixin (line 6704) | function customMixin(inTarget, inSrc, inNative) { function created (line 6718) | function created(element) { function register (line 6735) | function register(name, options) { function overrideAttributeApi (line 6767) | function overrideAttributeApi(prototype) { function changeAttribute (line 6781) | function changeAttribute(name, value, operation) { function isReservedTag (line 6790) | function isReservedTag(name) { function ancestry (line 6798) | function ancestry(extnds) { function resolveTagName (line 6805) | function resolveTagName(definition) { function resolvePrototypeChain (line 6815) | function resolvePrototypeChain(definition) { function instantiate (line 6834) | function instantiate(definition) { function getRegisteredDefinition (line 6838) | function getRegisteredDefinition(name) { function registerDefinition (line 6843) | function registerDefinition(name, definition) { function generateConstructor (line 6846) | function generateConstructor(definition) { function createElementNS (line 6852) | function createElementNS(namespace, tag, typeExtension) { function createElement (line 6859) | function createElement(tag, typeExtension) { function wrapDomMethodToForceUpgrade (line 6900) | function wrapDomMethodToForceUpgrade(obj, methodName) { function bootstrap (line 6964) | function bootstrap() { function installPolymerWarning (line 7062) | function installPolymerWarning() { FILE: 27_code-in-process/98-good-student-code/daniel/Week5/web-components-training-exercises/styleguide/createElement.js function createElement (line 1) | function createElement(elementName, templateSelector, proto) { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/Converter/main.go constant miTokm (line 6) | miTokm = 1.60934 constant pToKg (line 7) | pToKg = 0.453592 constant divider (line 8) | divider = "+------------------------+" function main (line 11) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/Hello/main.go function main (line 5) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/Loops/main.go function main (line 5) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/capitalize/main.go function main (line 11) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/distanceConverter/main.go constant kmToMi (line 12) | kmToMi = 0.621371 constant ftToMi (line 13) | ftToMi = 0.000189394 constant mToMi (line 14) | mToMi = 0.000621371 constant miToKm (line 15) | miToKm = 1.60934 constant miToFt (line 16) | miToFt = 5280 constant miToM (line 17) | miToM = 1609.34 function main (line 20) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/findSmallest/main.go function main (line 5) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/monuments/main.go type monument (line 13) | type monument struct type monumentInfo (line 19) | type monumentInfo struct method loadHeader (line 46) | func (mi *monumentInfo) loadHeader(row []string) { method parseRow (line 53) | func (mi *monumentInfo) parseRow(row []string) error { function loadMonuments (line 24) | func loadMonuments(rdr io.Reader) (*monumentInfo, error) { function main (line 69) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/my-cat/main.go function main (line 9) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/my-md5/main.go function walkPath (line 13) | func walkPath(path string, info os.FileInfo, err error, wg *sync.WaitGro... function main (line 27) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/profileGenerator/main.go function getGravatarHash (line 12) | func getGravatarHash(email string) string { function main (line 23) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/rotate/main.go function swap (line 5) | func swap(x, y *int) { function rotateLeft (line 9) | func rotateLeft(xs ...*int) { function rotateRight (line 20) | func rotateRight(xs ...*int) { function main (line 31) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/wordCount/main.go function count (line 11) | func count(r io.Reader) (map[string](int), string, int) { function main (line 55) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week7/yahooFinantial/main.go type information (line 12) | type information struct function parseHeader (line 22) | func parseHeader(row []string) map[string]int { function parseRow (line 30) | func parseRow(columns map[string]int, row []string) (*information, error) { function readTable (line 80) | func readTable(rdr io.Reader) ([]information, error) { function main (line 104) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/chatRoom/main.go type User (line 13) | type User struct type Message (line 19) | type Message struct type ChatServer (line 25) | type ChatServer struct method Run (line 33) | func (cs *ChatServer) Run() { function handleConn (line 63) | func handleConn(chatServer *ChatServer, conn net.Conn) { function main (line 97) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/colors/main.go function main (line 9) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/csv-convert/main.go function readHeader (line 11) | func readHeader(row []string) []string { function readRow (line 19) | func readRow(row []string, header []string) (map[string]string, error) { function readCsv (line 30) | func readCsv(filename string) ([]map[string]string, error) { function main (line 58) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/customHttpServer/main.go function handleConn (line 11) | func handleConn(conn net.Conn) { function main (line 58) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/echoServer/main.go function handleConn (line 10) | func handleConn(conn net.Conn) { function main (line 36) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/firstAppEngine/hello.go function init (line 13) | func init() { function handler (line 18) | func handler(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/firstTemplate/main.go function getTemplate (line 8) | func getTemplate(res http.ResponseWriter, req *http.Request) { function main (line 16) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/formExample/main.go function handleForm (line 10) | func handleForm(res http.ResponseWriter, req *http.Request) { function main (line 43) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/httpAnimals/main.go function catHandler (line 8) | func catHandler(res http.ResponseWriter, req *http.Request) { function dogHandler (line 17) | func dogHandler(res http.ResponseWriter, req *http.Request) { function main (line 26) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/json-example/main.go type dataType (line 10) | type dataType struct function main (line 16) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/photoBlog/main.go type fileTimes (line 18) | type fileTimes method Len (line 20) | func (ft *fileTimes) Len() int { method Less (line 24) | func (ft *fileTimes) Less(i, j int) bool { method Swap (line 28) | func (ft *fileTimes) Swap(i, j int) { function mainSite (line 32) | func mainSite(res http.ResponseWriter, req *http.Request) { function adminSite (line 63) | func adminSite(res http.ResponseWriter, req *http.Request) { function getCSS (line 118) | func getCSS(res http.ResponseWriter, req *http.Request) { function init (line 122) | func init() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/profile/main.go function init (line 15) | func init() { type Profile (line 21) | type Profile struct function handle (line 27) | func handle(res http.ResponseWriter, req *http.Request) { function createProfile (line 60) | func createProfile(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/redisDatabase/main.go type databaseRequest (line 10) | type databaseRequest struct function handleDatabase (line 15) | func handleDatabase(requestChannel <-chan databaseRequest) { function handleConn (line 34) | func handleConn(conn net.Conn, requestChannel chan<- databaseRequest) { function main (line 65) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/secureHello/main.go function getPage (line 8) | func getPage(res http.ResponseWriter, req *http.Request) { function main (line 12) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/static-http/main.go function main (line 5) | func main() { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/testExample/example.go function Sum (line 4) | func Sum(xs ...int) int { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/testExample/example_test.go function TestSum (line 5) | func TestSum(t *testing.T) { function BenchmarkSum (line 23) | func BenchmarkSum(b *testing.B) { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/todolist/main.go function init (line 14) | func init() { function handle (line 19) | func handle(res http.ResponseWriter, req *http.Request) { type dataItem (line 32) | type dataItem struct type list (line 37) | type list struct function jsonServe (line 43) | func jsonServe(res http.ResponseWriter, req *http.Request) { function deleteData (line 60) | func deleteData(res http.ResponseWriter, req *http.Request) { function getQuery (line 90) | func getQuery(email string) *datastore.Query { function saveJSON (line 96) | func saveJSON(res http.ResponseWriter, req *http.Request) { function getJSON (line 118) | func getJSON(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/98-good-student-code/daniel/Week8/todolist/script.js function deleteButton (line 1) | function deleteButton(keyVal) { function getData (line 13) | function getData() { function sendData (line 29) | function sendData(dataObj, callback) { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/chat-example/handlers.go type API (line 19) | type API struct method ServeHTTP (line 29) | func (api *API) ServeHTTP(res http.ResponseWriter, req *http.Request) { method handlePostChannel (line 76) | func (api *API) handlePostChannel(res http.ResponseWriter, req *http.R... method handlePostMessage (line 91) | func (api *API) handlePostMessage(res http.ResponseWriter, req *http.R... function newAPI (line 23) | func newAPI(root string) *API { function getClientID (line 62) | func getClientID(email string) string { function saveNewConnection (line 69) | func saveNewConnection(ctx context.Context, clientID string) error { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/chat-example/public/main.js function apiRequest (line 3) | function apiRequest(method, endpoint, data, callback) { function sendMessage (line 28) | function sendMessage(text, callback) { function getChannel (line 34) | function getChannel() { function onMessage (line 52) | function onMessage(message) { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/chat-example/routes.go function init (line 5) | func init() { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/movie-search/data.go function getRecentMovies (line 10) | func getRecentMovies(ctx context.Context, maxItems int) ([]movie, error) { function addMovie (line 17) | func addMovie(ctx context.Context, mov *movie) error { type templateMovie (line 26) | type templateMovie struct function getMovie (line 32) | func getMovie(ctx context.Context, URL string) (*templateMovie, error) { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/movie-search/details.go function handleMovieDetails (line 11) | func handleMovieDetails(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/movie-search/index.go function handleIndex (line 10) | func handleIndex(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/movie-search/movie.go type movie (line 16) | type movie struct function handleAdd (line 22) | func handleAdd(res http.ResponseWriter, req *http.Request) { function getHTML (line 58) | func getHTML(ctx context.Context, markdown string) (search.HTML, error) { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/movie-search/route.go function init (line 5) | func init() { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/movie-search/search.go function handleSearch (line 13) | func handleSearch(res http.ResponseWriter, req *http.Request) { function addToIndex (line 31) | func addToIndex(ctx context.Context, mov *movie) error { function searchMovies (line 41) | func searchMovies(ctx context.Context, query string) ([]movie, error) { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/movie-search/template.go function init (line 7) | func init() { FILE: 27_code-in-process/98-good-student-code/daniel/Week9/storageExample/storage.go constant bucket (line 19) | bucket = "golang-bootcamp" constant prefix (line 20) | prefix = "Oralordos/" function init (line 23) | func init() { function getCloudContext (line 29) | func getCloudContext(ctx context.Context) context.Context { function handlePut (line 40) | func handlePut(res http.ResponseWriter, req *http.Request) { function handleGet (line 67) | func handleGet(res http.ResponseWriter, req *http.Request) { function handleList (line 83) | func handleList(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/99_svcc/01_string-to-html/main.go function main (line 5) | func main() { FILE: 27_code-in-process/99_svcc/02_os-args/main.go function main (line 8) | func main() { FILE: 27_code-in-process/99_svcc/03_text-template/main.go function main (line 9) | func main() { FILE: 27_code-in-process/99_svcc/04_pipeline/main.go function main (line 9) | func main() { FILE: 27_code-in-process/99_svcc/05_pipeline-range/main.go function main (line 9) | func main() { FILE: 27_code-in-process/99_svcc/06_pipeline-range-else/main.go function main (line 9) | func main() { FILE: 27_code-in-process/99_svcc/07_composition/main.go type Person (line 9) | type Person struct function main (line 14) | func main() { FILE: 27_code-in-process/99_svcc/08_composition-conditional/main.go type Person (line 9) | type Person struct type DoubleZero (line 14) | type DoubleZero struct function main (line 19) | func main() { FILE: 27_code-in-process/99_svcc/09_methods/main.go type Person (line 7) | type Person struct method Greeting (line 17) | func (p Person) Greeting() { type DoubleZero (line 12) | type DoubleZero struct method Greeting (line 21) | func (dz DoubleZero) Greeting() { function main (line 25) | func main() { FILE: 27_code-in-process/99_svcc/10_xss/main.go type Page (line 9) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/99_svcc/11_html-templates/main.go type Page (line 9) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/99_svcc/12_parsefiles/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/99_svcc/13_ParseGlob/main.go type Page (line 10) | type Page struct function main (line 15) | func main() { FILE: 27_code-in-process/99_svcc/14_tcp_echo-server/main.go function main (line 8) | func main() { FILE: 27_code-in-process/99_svcc/15_tcp_echo-server/main.go function handle (line 10) | func handle(conn net.Conn) { function main (line 29) | func main() { FILE: 27_code-in-process/99_svcc/16_redis-clone_step-2/main.go function handle (line 12) | func handle(conn net.Conn) { function main (line 45) | func main() { FILE: 27_code-in-process/99_svcc/17_redis-clone_step-5/main.go function handle (line 14) | func handle(conn net.Conn) { function main (line 61) | func main() { FILE: 27_code-in-process/99_svcc/18_rot13/main.go function handle (line 10) | func handle(conn net.Conn) { function main (line 39) | func main() { FILE: 27_code-in-process/99_svcc/19_DIY_http-server_request-line_headers/main.go function handleConn (line 10) | func handleConn(conn net.Conn) { function main (line 18) | func main() { FILE: 27_code-in-process/99_svcc/20_DIY_http-server_step-01/main.go function handleConn (line 11) | func handleConn(conn net.Conn) { function main (line 29) | func main() { FILE: 27_code-in-process/99_svcc/21_DIY_http-server_step-02/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 43) | func main() { FILE: 27_code-in-process/99_svcc/22_DIY_http-server_step-03/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 55) | func main() { FILE: 27_code-in-process/99_svcc/23_DIY_http-server_step-04/main.go function handleConn (line 12) | func handleConn(conn net.Conn) { function main (line 55) | func main() { FILE: 27_code-in-process/99_svcc/24_http-server_ServeMux/main.go function upTown (line 8) | func upTown(res http.ResponseWriter, req *http.Request) { function youUp (line 12) | func youUp(res http.ResponseWriter, req *http.Request) { function main (line 16) | func main() { FILE: 27_code-in-process/99_svcc/25_http-server_DefaultServeMux/main.go function upTown (line 8) | func upTown(res http.ResponseWriter, req *http.Request) { function youUp (line 12) | func youUp(res http.ResponseWriter, req *http.Request) { function main (line 16) | func main() { FILE: 27_code-in-process/99_svcc/26_serving-files_io-Copy/main.go function upTown (line 10) | func upTown(res http.ResponseWriter, req *http.Request) { function dogPic (line 24) | func dogPic(res http.ResponseWriter, req *http.Request) { function main (line 35) | func main() { FILE: 27_code-in-process/99_svcc/27_serving-files_ServeContent/main.go function upTown (line 10) | func upTown(res http.ResponseWriter, req *http.Request) { function dogPic (line 24) | func dogPic(res http.ResponseWriter, req *http.Request) { function main (line 41) | func main() { FILE: 27_code-in-process/99_svcc/28_serving-files_ServeFile/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function dogPic (line 23) | func dogPic(res http.ResponseWriter, req *http.Request) { function main (line 27) | func main() { FILE: 27_code-in-process/99_svcc/29_serving-files_FileServer/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/99_svcc/30_serving-files_FileServer/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/99_svcc/31_serving-files_FileServer/main.go function upTown (line 9) | func upTown(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/99_svcc/32_static-FileServer/main.go function main (line 7) | func main() { FILE: 27_code-in-process/99_svcc/33_set-cookie/main.go function setCookie (line 7) | func setCookie(res http.ResponseWriter, req *http.Request) { function main (line 14) | func main() { FILE: 27_code-in-process/99_svcc/34_get-cookie/main.go function getCookie (line 8) | func getCookie(res http.ResponseWriter, req *http.Request) { function main (line 13) | func main() { FILE: 27_code-in-process/99_svcc/35_favicon-bye-bye/main.go function getCookie (line 8) | func getCookie(res http.ResponseWriter, req *http.Request) { function main (line 13) | func main() { FILE: 27_code-in-process/99_svcc/36_sessions_cookie/main.go function setCookie (line 9) | func setCookie(res http.ResponseWriter, req *http.Request) { function main (line 23) | func main() { FILE: 27_code-in-process/99_svcc/37_sessions_cookie_log-in-out/main.go function main (line 9) | func main() { function authenticate (line 15) | func authenticate(res http.ResponseWriter, req *http.Request) { FILE: 27_code-in-process/99_svcc/38_HMAC/01/main.go function main (line 10) | func main() { function getCode (line 24) | func getCode(data string) string { FILE: 27_code-in-process/99_svcc/38_HMAC/02/main.go function main (line 11) | func main() { function getCode (line 25) | func getCode(data string) string { FILE: 27_code-in-process/99_svcc/38_HMAC/03/main.go function main (line 13) | func main() { function home (line 18) | func home(res http.ResponseWriter, req *http.Request) { function getCode (line 49) | func getCode(data string) string { FILE: 27_code-in-process/99_svcc/39_AES-encrypt-decrypt/main.go function main (line 9) | func main() { FILE: 27_code-in-process/99_svcc/40_sessions_GORILLA/main.go function setSession (line 13) | func setSession(res http.ResponseWriter, req *http.Request) { function main (line 33) | func main() { FILE: 27_code-in-process/99_svcc/41_sessions_GORILLA_log-in-out/main.go function authenticate (line 12) | func authenticate(res http.ResponseWriter, req *http.Request) { function main (line 71) | func main() { FILE: 27_code-in-process/99_svcc/42_JSON/main.go function main (line 8) | func main() { FILE: 27_code-in-process/99_svcc/43_sessions_GORILLA_JSON/main.go function authenticate (line 14) | func authenticate(res http.ResponseWriter, req *http.Request) { function main (line 99) | func main() { FILE: 27_code-in-process/99_svcc/44_file-paths/main.go function main (line 9) | func main() { FILE: 27_code-in-process/99_svcc/45_sessions_GORILLA_photo-blog/main.go function init (line 20) | func init() { function main (line 24) | func main() { function index (line 33) | func index(res http.ResponseWriter, req *http.Request) { function logout (line 53) | func logout(res http.ResponseWriter, req *http.Request) { function login (line 60) | func login(res http.ResponseWriter, req *http.Request) { function uploadPhoto (line 72) | func uploadPhoto(src multipart.File, hdr *multipart.FileHeader, session ... function getSha (line 84) | func getSha(src multipart.File) string { function addPhoto (line 90) | func addPhoto(fName string, session *sessions.Session) { function getPhotos (line 97) | func getPhotos(session *sessions.Session) []string { FILE: 27_code-in-process/99_svcc/46_HTTPS-TLS/main.go function handler (line 8) | func handler(w http.ResponseWriter, req *http.Request) { function main (line 13) | func main() {