Directories ¶ Show internal Expand all Path Synopsis 01_hello 02_variables 03_functions 04_pointers 05_arrays_slices 06_control_flow 07_maps 08_structs 09_interfaces 10_errors 11_concurrency 12_advanced arrays_and_slices 01_arrays command 02_array_literal command 03_slice_from_array command 04_slice_modifies_array command 05_make_slice command 06_append_and_capacity command 07_slice_capacity_overflow command 08_delete_elements_in_slice command 09_iteration command control_flow 01_if command 02_if_else command 03_if_else_if command 04_multiple_conditions command 05_statements_in_if command 06_switch command 07_for_loop_counter command 08_for_loop_condition command 09_infinite_for_with_break command 10_for_range command 11_for_range_break_continue command errors 01_panic_runtime_error command 02_avoiding_runtime_error command 03_defer_named_function command 04_defer_anonymous_function command 05_recover command 06_return_error command 07_create_error command 08_custom_error_and_panic command 09_function_returns_error command 10_new_error command file_io 01_read_file command 02_write_file command 03_append_file command 04_read_line_by_line command 05_file_info command 06_directory_operations command functions 01_basic_functions command 02_parameters command 03_multiple_parameters command 04_return command 05_return_multiple_values command 06_named_return_values command 07_named_function_literals command 08_closures command goroutines 01_concurrency command 02_main_goroutine command 03_create_goroutine command 04_multiple_goroutines command 05_waitgroup command 06_channels command 07_one_channel_multiple_goroutines command interfaces 01_basic_interface command 02_multiple_implementations command 03_interface_as_parameter command 04_stringer_interface command 05_custom_slice_type command 06_interface_and_struct command 07_multiple_interfaces command 08_slice_iteration command 09_empty_interface command maps 01_basic_maps command 02_check_key_exists command 03_delete_from_map command 04_for_range_maps command 05_empty_map_nil command 06_make_map command 07_maps_in_functions command pointers 01_pointer_address command 02_change_via_pointer command 03_function_without_pointers command 04_function_with_pointers command structs 01_struct_type command 02_struct_literal command 03_struct_pass_by_value command 04_struct_pass_by_pointer command 05_function_as_field command 06_methods command 07_string_method command 08_struct_vs_map command testing 01_basic_test 02_table_driven_tests 03_benchmarks variables 01_basic_declaration command 02_multiple_vars command 03_variable_types command 04_reassignment command 05_static_typing command 06_declaration_and_initialization command 07_zero_values command 08_strong_typing command 09_multiple_declaration command 10_constants command 11_constants_and_types command 12_grouped_declarations command Click to show internal directories. Click to hide internal directories.