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