Directories ¶ Show internal Expand all Path Synopsis codeExamples 01_first_program/example_01 01_first_program/example_02 01_first_program/example_03 02_the_basics/00-types/summary 02_the_basics/01-variables/example_01 02_the_basics/02-constants 02_the_basics/03-enums 02_the_basics/04-functions/example_01 02_the_basics/04-functions/example_02 02_the_basics/04-functions/example_03 02_the_basics/04-functions/example_04 02_the_basics/04-functions/example_05 02_the_basics/05-pointers/example_01 02_the_basics/06-nil_zero_values/example_01 02_the_basics/07-controlFlow/for 02_the_basics/07-controlFlow/ifConditional 02_the_basics/07-controlFlow/switch/example01 02_the_basics/07-controlFlow/switch/example02 02_the_basics/08-errors/example_01 02_the_basics/09-defer_panic_recover/example_01 02_the_basics/09-defer_panic_recover/example_02 02_the_basics/09-defer_panic_recover/example_03 02_the_basics/10-init_functions/example_01 03_arrays_slices_and_maps/01-arrays/example_01 03_arrays_slices_and_maps/02-slices/example_01 03_arrays_slices_and_maps/02-slices/example_02 03_arrays_slices_and_maps/02-slices/example_03 03_arrays_slices_and_maps/02-slices/example_04 03_arrays_slices_and_maps/02-slices/example_05 03_arrays_slices_and_maps/03-maps/example_01 03_arrays_slices_and_maps/03-maps/example_02 03_arrays_slices_and_maps/03-maps/example_03 04_data_structures/interfaces/example_01 04_data_structures/interfaces/example_01a 04_data_structures/interfaces/example_02 04_data_structures/interfaces/example_03 04_data_structures/methods/example_01 04_data_structures/methods/example_02 04_data_structures/methods/example_03 04_data_structures/structures/example_01 04_data_structures/structures/example_02 04_data_structures/structures/example_03 04_data_structures/structures/example_04 04_data_structures/structures/example_05 05_reflection/functions/example_01 05_reflection/reflect_type/example_01 05_reflection/reflect_type/example_02 05_reflection/reflect_type/example_03 05_reflection/reflect_type/example_04 05_reflection/reflect_value/example_01 05_reflection/reflect_value/example_02 05_reflection/reflect_value/example_03 05_reflection/reflect_value/example_04 05_reflection/reflect_value/example_05 05_reflection/tags/example_01 05_reflection/tests 06_concurrency/atomics/example_01 06_concurrency/atomics/example_02 06_concurrency/channels/example_01 06_concurrency/channels/example_01a 06_concurrency/channels/example_02 06_concurrency/channels/example_03 06_concurrency/channels/example_04 06_concurrency/channels/example_05 06_concurrency/context/parents 06_concurrency/context/with_cancel 06_concurrency/context/with_deadline 06_concurrency/context/with_timeout 06_concurrency/context/with_value 06_concurrency/goroutines/example01 06_concurrency/goroutines/example02 06_concurrency/mutex/example_01 06_concurrency/once/example_01 06_concurrency/select/example_01a 06_concurrency/select/example_01b 06_concurrency/select/example_02 06_concurrency/timers_tickers_timeouts/example_01 06_concurrency/timers_tickers_timeouts/example_02 06_concurrency/waitgroup/example_01 07_input_output/files/example_01 07_input_output/files/example_02 07_input_output/files/example_03 07_input_output/readers_writers/example_01 07_input_output/readers_writers/example_02 07_input_output/standard_io/example_01 07_input_output/standard_io/example_02 07_input_output/standard_io/example_03 07_input_output/standard_io/example_04 07_input_output/standard_io/example_05 08_input_output/csv/example_01 08_input_output/csv/example_02 08_input_output/json/example_01 08_input_output/json/example_02 08_input_output/json/example_03 08_input_output/tags/example_01 08_input_output/xml/example_01 08_input_output/xml/example_02 08_input_output/xml/example_03 08_input_output/yaml/example_01 08_input_output/yaml/example_02 08_input_output/yaml/example_03 09_HTTP/cookies/example_01 09_HTTP/cookies/example_02 09_HTTP/middleware/example_01 09_HTTP/middleware/example_02 09_HTTP/requests/example_01 09_HTTP/requests/example_02 09_HTTP/requests/example_02a 09_HTTP/requests/example_03 09_HTTP/server/example_01 09_HTTP/server/example_02 09_HTTP/server/example_03 10_templates/actions/example_01 10_templates/actions/example_02 10_templates/actions/example_03 10_templates/filling/example_01 10_templates/functions/example_01 10_templates/functions/example_02 10_templates/functions/example_03 10_templates/html/example_01 11_testing/coverage/example_01 12_modules/godoc/example_01 13_cgo/example_01 13_cgo/example_02 13_cgo/example_04 13_cgo/example_05 13_cgo/example_06 13_cgo/example_07 13_cgo/example_08 13_cgo/example_09 13_cgo/example_10 13_cgo/example_11 13_cgo/example_12 13_cgo/example_13 13_cgo/example_14 15_grpc/context/example_01/user 15_grpc/context/example_02/user 16_logger/log/example_01 16_logger/log/example_02 20_kafka/confluent/example_02a exercises exercise1 exercise2 Module exercise3 Module exercise4 Module Click to show internal directories. Click to hide internal directories.