Documentation ¶
Overview ¶
First statement in a file is a package declaration Your startup file always has a package of main The package name does not have to match the name of the directory or the source code file
Source Files ¶
- 01_hello_world.go
- 02_outputting_strings.go
- 03_input_from_the_console.go
- 04_variables_constants_types.go
- 05_string_values.go
- 06_math_operators.go
- 07_dates_and_times.go
- 08_referencing_values_with_pointers.go
- 09_storing_ordered_values_in_arrays.go
- 10_storing_ordered_values_in_slices.go
- 11_storing_unordered_values_in_maps.go
- 12_grouping_related_values_in_structs.go
- 13_conditional_logic.go
- 14_switch_statements.go
- 15_loops_with_for_statments.go
- 16_defining_and_calling_functions.go
- 17_returning_multiple_values_from_functions.go
- 19_defining_functions_as_methods.go
- 20_implementing_interfaces.go
- 21_handling_errors.go
- 22_deferring_function_calls.go
- 23_writing_to_text_file.go
- 24_reading_from_text_file.go
- 25_walking_directories.go
- 26_read_remote_text_files.go
- 27_creating_and_parsing_json.go
- 28_create_http_server.go
- 29_type_embedding.go
- 30_go_routines.go
- 31_race_conditions.go
- 32_atomic_functions.go
- 33_mutexes.go
- 34_unbuffered_channels.go
- 35_bufferred_channels.go
Click to show internal directories.
Click to hide internal directories.