Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corsc/Beyond-Effective-Go
/ functions
Functions
1,301 in github.com/corsc/Beyond-Effective-Go
⨍
Functions
1,301
◇
Types & classes
506
Method
ShutDown
()
Chapter01/05_sync_atomic/02_load_and_store/dynamic_config.go:51
Method
Shutdown
()
Chapter08/04_struct_tricks/01_empty/03_signal/example.go:33
Method
Sing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:30
Method
Sing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:40
Method
Sing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:50
Method
Sing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:60
Function
SingSolo
(favorite string)
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:3
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v6/parser.go:134
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v6/parser.go:150
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v5/parser.go:134
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v5/parser.go:150
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v7/parser.go:134
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v7/parser.go:150
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v1/parser.go:133
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v1/parser.go:149
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v8/parser.go:134
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v8/parser.go:150
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v4/parser.go:134
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v4/parser.go:150
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v2/parser.go:134
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v2/parser.go:150
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v3/parser.go:134
Method
String
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v3/parser.go:150
Method
String
()
Chapter09/03_code_generation/02_stub_generator/01_go_ast/simple_ast.go:130
Method
String
()
Chapter09/03_code_generation/02_stub_generator/01_go_ast/simple_ast.go:146
Function
Tags
(tags []string)
Chapter08/02_fun_with_functions/02_patterns/03_functional_options/03_functional_options/example.go:59
Method
Talk
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/02_anonymous/example.go:13
Method
Talk
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/02_anonymous/example.go:21
Method
Talk
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/03_implements/example.go:13
Function
TestAPI_Get
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_get_test.go:17
Function
TestAPI_Get_UAT
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_uat_test.go:15
Function
TestAPI_Post
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_post_test.go:14
Function
TestAPI_Put
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_put_test.go:14
Function
TestAddPeriod
(t *testing.T)
Chapter08/01_functional_programming/02_higher_order/example_test.go:21
Function
TestAssertion
(t *testing.T)
Chapter06/05_test_ux/02_readability/01_assertions/example_test.go:21
Function
TestBadExample
(t *testing.T)
Chapter06/07_patterns_tricks/07_tests_complete/03_context_timeout/example_test.go:11
Function
TestBank
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/02_channel/bank_test.go:9
Function
TestBank
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/01_mutex/bank_test.go:9
Function
TestBank_causeDataRace
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/01_mutex/bank_test.go:24
Function
TestBank_noDataRace
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/02_channel/bank_test.go:24
Function
TestBatchedSender_Send
(t *testing.T)
Chapter02/05_patterns/02_batching/02_batching_test.go:9
Function
TestBlocking
To run this
Chapter03/03_pprof/03_blocking_profiling/04_block_test/example_test.go:13
Function
TestCacheWithChannelsExample
(t *testing.T)
Chapter01/02_concurrency_model/03_csp_usability/01_cache_channels_test.go:10
Function
TestCacheWithMutex
(t *testing.T)
Chapter01/02_concurrency_model/03_csp_usability/02_cache_mutex_test.go:9
Function
TestCalendarAPI_GetCalendars
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-gcal/internal/gcal/gcal_test.go:11
Function
TestChannelStats
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/06_buffered_channels/buffered_channels_test.go:9
Function
TestCheckerAPI_Check
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-gcal/internal/conflict/checker_test.go:17
Function
TestChildrenEat
(t *testing.T)
Chapter01/03_concurrency_issues/01_deadlock/01_mutexes/mutexes_test.go:8
Function
TestChildrenEat
(t *testing.T)
Chapter01/03_concurrency_issues/03_livelock/livelock_test.go:10
Function
TestClient_WaitForMessage_HappyPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/02_after/example_test.go:11
Function
TestClient_WaitForMessage_HappyPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/01_before/example_test.go:10
Function
TestClient_WaitForMessage_SadPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/02_after/example_test.go:25
Function
TestClient_WaitForMessage_SadPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/01_before/example_test.go:24
Function
TestCollection
(t *testing.T)
Chapter08/04_struct_tricks/01_empty/02_map/01_selective_add/01_slice_only/example_test.go:24
Function
TestCollection
(t *testing.T)
Chapter08/04_struct_tricks/01_empty/02_map/01_selective_add/02_slice_map/example_test.go:25
Function
TestConcurrency
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/07_test_concurrency/01_short_test.go:7
Function
TestConsumer_Consume
(t *testing.T)
Chapter06/07_patterns_tricks/06_concurrent_code/03_latches/02_after/example_test.go:10
Function
TestCoordinator_buildListOfChangedPackages
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:32
Function
TestCoordinator_filterUnwantedPackages
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:88
Function
TestCoordinator_getChanges_SadPath
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:14
Function
TestCoordinator_runTests_HappyPath
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:159
Function
TestCopyOnWrite
(t *testing.T)
Chapter02/05_patterns/01_copy_on_write/copy_on_write_test.go:10
Function
TestCreateUser_happyPath
(t *testing.T)
Chapter04/01_software_design_principles/05_accept_interface_return_struct/04_testability_improved/example_test.go:11
Function
TestCreateUser_happyPath
(t *testing.T)
Chapter04/01_software_design_principles/05_accept_interface_return_struct/03_testability/example_test.go:13
Function
TestDataRace
(t *testing.T)
Chapter01/04_data_races/01_torn_reads/01_race_test.go:9
Function
TestDataRaceLess
(t *testing.T)
Chapter01/04_data_races/01_torn_reads/02_raceless_test.go:9
Function
TestDecorate
(t *testing.T)
Chapter06/04_mocks_stubs_recorders/01_mocks/example_test.go:110
Function
TestE2EEscalations_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:14
Function
TestE2EEscalations_Update
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_update_test.go:14
Function
TestE2EManager_Sync
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/manager_sync_test.go:14
Function
TestE2ESchedules_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_add_test.go:14
Function
TestE2ESchedules_Get
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_get_test.go:14
Function
TestE2ESchedules_Update
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_update_test.go:14
Function
TestE2ETeams_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/teams_add_test.go:15
Function
TestE2ETeams_Get
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/teams_get_test.go:15
Function
TestE2ETeams_GetByName
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/teams_get_by_name_test.go:15
Function
TestE2EUsers_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_add_test.go:15
Function
TestE2EUsers_GetByEmail
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_get_by_email_test.go:15
Function
TestEventListener
(t *testing.T)
Chapter02/05_patterns/04_event_listener/event_listener_test.go:10
Function
TestExample
this only exists so that example can be written as a function
Chapter05/02_consistency/08_constructor_params/02_config_injection/example_usage_test.go:15
Function
TestExample
this only exists so that example can be written as a function
Chapter05/02_consistency/08_constructor_params/01_private_constructors/03_one_implementation/example_usage_test.go:15
Function
TestExample
(t *testing.T)
Chapter01/06_sync/02_channel_wait_group/channel_waitgroup_test.go:9
Function
TestExample
(t *testing.T)
Chapter01/06_sync/01_waitgroup/waitgroup_test.go:9
Function
TestExample
(t *testing.T)
Chapter02/03_select/01_timeout/read_with_timeout_test.go:10
Function
TestExample
(t *testing.T)
Chapter02/02_channels/04_channel_pointers/channel_pointers_test.go:9
Function
TestExample
(t *testing.T)
Chapter02/01_go_routines/01_anonymous_closures/01_data_race_test.go:7
Function
TestExample
(t *testing.T)
Chapter08/02_fun_with_functions/02_patterns/04_decoration/example_test.go:13
Function
TestExampleClean
(t *testing.T)
Chapter06/05_test_ux/02_readability/02_magic_constants/example_test.go:15
Function
TestExampleConfusing
(t *testing.T)
Chapter06/05_test_ux/02_readability/02_magic_constants/example_test.go:9
Function
TestExampleUAT
(t *testing.T)
Chapter06/07_patterns_tricks/11_skipping_tests/02_env_var_test.go:16
Function
TestExampleV2
(t *testing.T)
Chapter02/01_go_routines/01_anonymous_closures/02_data_race_test.go:7
Function
TestExampleV3
(t *testing.T)
Chapter02/01_go_routines/01_anonymous_closures/03_data_race_test.go:7
Function
TestFanInExample
(t *testing.T)
Chapter01/02_concurrency_model/02_select_data_flow/fan_in_test.go:10
Function
TestFanOutExample
(t *testing.T)
Chapter01/02_concurrency_model/02_select_data_flow/fan_out_test.go:10
Function
TestFileV1_implementsFile
(t *testing.T)
Chapter05/01_clarity/09_avoid_foreign_idioms/03_builder/03_builder_test.go:12
Function
TestFunctionChaining
(t *testing.T)
Chapter08/02_fun_with_functions/02_patterns/05_function_chaining/example_test.go:9
Function
TestGenerateHash
(t *testing.T)
Chapter05/01_clarity/13_panic/03_logfatal/example_test.go:8
Function
TestGenerateJSON
(t *testing.T)
Chapter06/07_patterns_tricks/03_test_data/example_test.go:21
Function
TestGenerateJSONWithGenerator
(t *testing.T)
Chapter06/07_patterns_tricks/03_test_data/example_test.go:42
Function
TestGoodExample
(t *testing.T)
Chapter06/07_patterns_tricks/07_tests_complete/03_context_timeout/example_test.go:16
← previous
next →
1,001–1,100 of 1,301, ranked by callers