Directories ¶ Show internal Expand all Path Synopsis 1_GettingStarted 1-2_YourFirstGoProgram command 2_LanguageBasics 2-10_Errors/2-10-1_errors command 2-10_Errors/2-10-1_panic command 2-10_Errors/2-10-2_inspection command 2-11_Packages/2-11-2_create_custom_packages/dice Package dice lets you roll the dice. Package dice lets you roll the dice. 2-11_Packages/2-11-4_subpackages/dice 2-11_Packages/2-11-4_subpackages/dice/diceprinter 2-12-Modules/2-12-2_creating_a_module/diceclient command 2-1_Variables/variables command 2-2_ControlStructures/2-2-4_TTP_if_switch_for/collatz command 2-2_ControlStructures/2-2-4_TTP_if_switch_for/collatz/solution command 2-2_ControlStructures/2-2-4_TTP_if_switch_for/fizzbuzz command 2-2_ControlStructures/2-2-4_TTP_if_switch_for/fizzbuzz/solution command 2-2_ControlStructures/2_2_1_if command 2-2_ControlStructures/2_2_1_nested_if command 2-2_ControlStructures/2_2_1_streamlined_if command 2-2_ControlStructures/2_2_2_switch command 2-2_ControlStructures/2_2_3_for command 2-3_InputAndOutput/2-3-1_print command 2-3_InputAndOutput/2-3-2_scan command 2-3_InputAndOutput/2-3-3_TTP_printing_and_scanning/printing command 2-3_InputAndOutput/2-3-3_TTP_printing_and_scanning/printing/solution command 2-3_InputAndOutput/2-3-3_TTP_printing_and_scanning/printtwice command 2-3_InputAndOutput/2-3-3_TTP_printing_and_scanning/printtwice/solution command 2-3_InputAndOutput/2-3-3_TTP_printing_and_scanning/scanning/solution command 2-3_InputAndOutput/2-3-4_cmdline command 2-3_InputAndOutput/2-3-5_flags command 2-4_Exercise_YourFirstCommandLineTool command This is one solution for exercise 01, "Build your first commandline tool". This is one solution for exercise 01, "Build your first commandline tool". 2-4_Exercise_YourFirstCommandLineTool/solution command This is one solution for exercise 01, "Build your first commandline tool". This is one solution for exercise 01, "Build your first commandline tool". 2-5_Strings/2-5-1_basics command 2-5_Strings/2-5-1_immutability command 2-5_Strings/2-5-2_unicode command 2-5_Strings/2-5-3_literals command 2-5_Strings/2-5-5_TTP_strings/solution command 2-6_NumericTypes/2-6-1_bool command 2-6_NumericTypes/2-6-1_int command 2-6_NumericTypes/2-6-1_int_division command 2-6_NumericTypes/2-6-1_int_overflow command 2-6_NumericTypes/2-6-2_float_conversions command 2-6_NumericTypes/2-6-2_float_remainder command 2-6_NumericTypes/2-6-2_float_to_int command 2-6_NumericTypes/2-6-2_negative_zero command 2-6_NumericTypes/2-6-2_special_values command 2-6_NumericTypes/2-6-3_precision command 2-6_NumericTypes/2-6-3_rounding command 2-6_NumericTypes/2-6-4_complex command 2-7_Constants command 2-8_Pointers command 2-9_Functions/2-9-1_declaringfunctions command 2-9_Functions/2-9-2_functionbehavior command 2-9_Functions/2-9-3_TTP_function_behavior/scope command 2-9_Functions/2-9-3_TTP_function_behavior/scope/solution command 2-9_Functions/2-9-3_TTP_function_behavior/variadic command 2-9_Functions/2-9-3_TTP_function_behavior/variadic/solution command 2-9_Functions/2-9-4_closures command 2-9_Functions/2-9-5_TTP_closures/defer command 2-9_Functions/2-9-5_TTP_closures/defer/solution command 2-9_Functions/2-9-5_TTP_closures/functionvalue command 2-9_Functions/2-9-5_TTP_closures/functionvalue/solution command 2-9_Functions/2-9-6_funcsandpointers command 2-11_Packages/2-11-2_create_custom_packages/diceclient module 2-11_Packages/2-11-4_subpackages/diceclient module 2-12-Modules/2-12-4_adding_version_information/diceclient module 2-13_Exercise_BankAccount/bank module 2-13_Exercise_BankAccount/bank/solutionsteps module 3_AdvancedDataTypes 3-11_Exercise_WebService/3-11-1_WebServer command 3-11_Exercise_WebService/3-11-2_Router command 3-11_Exercise_WebService/3-11-2_Router/solution command 3-11_Exercise_WebService/3-11-3_Handlers command 3-11_Exercise_WebService/3-11-3_Handlers/solution command 3-11_Exercise_WebService/3-11-4_Database/webservice command 3-11_Exercise_WebService/3-11-4_Database/webservice/quotes 3-11_Exercise_WebService/3-11-4_Database/webservice/solution command 3-11_Exercise_WebService/3-11-4_Database/webservice/solution/quotes 3-1_Arrays command 3-2_Slices/3-2-1_slices command 3-2_Slices/3-2-3_TTP_slices/solution command 3-2_Slices/3-2-4_byteslices command 3-3-1_Maps command 3-3-2_TTP_maps command 3-3-2_TTP_maps/solution command 3-4_type_declarations command 3-5_TypeAliases command 3-5_TypeAliases/newlib 3-5_TypeAliases/oldlib 3-6-1_struct_basics command 3-6-2_TTP_structs/basics command 3-6-2_TTP_structs/basics/bonussolution command 3-6-2_TTP_structs/basics/solution command 3-6-3_embedding command 3-6-4_fieldtags command 3-7-1_methods command 3-7-2_methodsets command 3-8_Interfaces/3-8-1_interface_helloer command 3-8_Interfaces/3-8-2_TTP-iowriter command 3-8_Interfaces/3-8-2_TTP-iowriter/solution command 3-8_Interfaces/3-8-3_ttp_data_container/queue command 3-8_Interfaces/3-8-3_ttp_data_container/queue/solution command 3-8_Interfaces/3-8-4_interfaces_as_parameters command 3-8_Interfaces/3-8-5_interface_examples command 3-8_Interfaces/3-8-6_interface_internals command 4_GoDevelopment 4-1-1_Compiling/gotools command 4-1-1_Compiling/gotools/procinfo 4-1-2_ConditionalCompiling/gotools2 command 4-1-3_InstallAndManageDependencies/src/dependencies command 4-1-6_gofmt command 4-2_testing/4-2-3_tabledriven 4-2_testing/4-2-6_benchmarks 4-2-3_testing_tablesubparallel/subparallel module 5_AdvancedTopics 5-1-1_goroutines command 5-1-2_goroutines_and_threads command 5-1-3_goroutine_caveats command 5-1-4_channels command 5-1-5_channel_axioms command 5-1-6_Select command 5-1-7_TTP_channels/channelsTask2 command 5-1-7_TTP_channels/channelsTask2Solution command 5-1-7_TTP_channels/channelsTask3solution command 5-1-7_TTP_channels/channelsTask4Solution command 5-1-8_ManagingGoroutines/doneChannel command 5-1-8_ManagingGoroutines/errGroup command 5-1-8_ManagingGoroutines/waitGroup command 5-1-9_DataRaces command 5-2-1_reflection command 5-2-2_TTP_reflection/pretty 5-2-2_TTP_reflection/pretty/solution 5-2-2_TTP_reflection/reflection command 5-4_Exercise_Concurrency command 5-4_Exercise_Concurrency/hint command 5-4_Exercise_Concurrency/solution1 command 5-4_Exercise_Concurrency/solution2 command Click to show internal directories. Click to hide internal directories.