MCPcopy Create free account

hub / github.com/corsc/Beyond-Effective-Go / functions

Functions1,301 in github.com/corsc/Beyond-Effective-Go

MethodShutDown
()
Chapter01/05_sync_atomic/02_load_and_store/dynamic_config.go:51
MethodShutdown
()
Chapter08/04_struct_tricks/01_empty/03_signal/example.go:33
MethodSing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:30
MethodSing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:40
MethodSing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:50
MethodSing
()
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:60
FunctionSingSolo
(favorite string)
Chapter04/02_design_patterns/02_factory_method/01_before/example.go:3
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v6/parser.go:134
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v6/parser.go:150
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v5/parser.go:134
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v5/parser.go:150
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v7/parser.go:134
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v7/parser.go:150
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v1/parser.go:133
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v1/parser.go:149
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v8/parser.go:134
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v8/parser.go:150
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v4/parser.go:134
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v4/parser.go:150
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v2/parser.go:134
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v2/parser.go:150
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v3/parser.go:134
MethodString
()
Chapter09/03_code_generation/02_stub_generator/03_generator_v3/parser.go:150
MethodString
()
Chapter09/03_code_generation/02_stub_generator/01_go_ast/simple_ast.go:130
MethodString
()
Chapter09/03_code_generation/02_stub_generator/01_go_ast/simple_ast.go:146
FunctionTags
(tags []string)
Chapter08/02_fun_with_functions/02_patterns/03_functional_options/03_functional_options/example.go:59
MethodTalk
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/02_anonymous/example.go:13
MethodTalk
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/02_anonymous/example.go:21
MethodTalk
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/03_implements/example.go:13
FunctionTestAPI_Get
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_get_test.go:17
FunctionTestAPI_Get_UAT
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_uat_test.go:15
FunctionTestAPI_Post
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_post_test.go:14
FunctionTestAPI_Put
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_put_test.go:14
FunctionTestAddPeriod
(t *testing.T)
Chapter08/01_functional_programming/02_higher_order/example_test.go:21
FunctionTestAssertion
(t *testing.T)
Chapter06/05_test_ux/02_readability/01_assertions/example_test.go:21
FunctionTestBadExample
(t *testing.T)
Chapter06/07_patterns_tricks/07_tests_complete/03_context_timeout/example_test.go:11
FunctionTestBank
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/02_channel/bank_test.go:9
FunctionTestBank
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/01_mutex/bank_test.go:9
FunctionTestBank_causeDataRace
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/01_mutex/bank_test.go:24
FunctionTestBank_noDataRace
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/05_serialize_access/02_channel/bank_test.go:24
FunctionTestBatchedSender_Send
(t *testing.T)
Chapter02/05_patterns/02_batching/02_batching_test.go:9
FunctionTestBlocking
To run this
Chapter03/03_pprof/03_blocking_profiling/04_block_test/example_test.go:13
FunctionTestCacheWithChannelsExample
(t *testing.T)
Chapter01/02_concurrency_model/03_csp_usability/01_cache_channels_test.go:10
FunctionTestCacheWithMutex
(t *testing.T)
Chapter01/02_concurrency_model/03_csp_usability/02_cache_mutex_test.go:9
FunctionTestCalendarAPI_GetCalendars
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-gcal/internal/gcal/gcal_test.go:11
FunctionTestChannelStats
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/06_buffered_channels/buffered_channels_test.go:9
FunctionTestCheckerAPI_Check
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-gcal/internal/conflict/checker_test.go:17
FunctionTestChildrenEat
(t *testing.T)
Chapter01/03_concurrency_issues/01_deadlock/01_mutexes/mutexes_test.go:8
FunctionTestChildrenEat
(t *testing.T)
Chapter01/03_concurrency_issues/03_livelock/livelock_test.go:10
FunctionTestClient_WaitForMessage_HappyPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/02_after/example_test.go:11
FunctionTestClient_WaitForMessage_HappyPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/01_before/example_test.go:10
FunctionTestClient_WaitForMessage_SadPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/02_after/example_test.go:25
FunctionTestClient_WaitForMessage_SadPath
(t *testing.T)
Chapter06/08_test_induced_damage/01_parameters/01_before/example_test.go:24
FunctionTestCollection
(t *testing.T)
Chapter08/04_struct_tricks/01_empty/02_map/01_selective_add/01_slice_only/example_test.go:24
FunctionTestCollection
(t *testing.T)
Chapter08/04_struct_tricks/01_empty/02_map/01_selective_add/02_slice_map/example_test.go:25
FunctionTestConcurrency
(t *testing.T)
Chapter01/03_concurrency_issues/04_detect_fix_avoid/07_test_concurrency/01_short_test.go:7
FunctionTestConsumer_Consume
(t *testing.T)
Chapter06/07_patterns_tricks/06_concurrent_code/03_latches/02_after/example_test.go:10
FunctionTestCoordinator_buildListOfChangedPackages
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:32
FunctionTestCoordinator_filterUnwantedPackages
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:88
FunctionTestCoordinator_getChanges_SadPath
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:14
FunctionTestCoordinator_runTests_HappyPath
(t *testing.T)
Chapter09/02_call_apps/internal/ftests/ftests_test.go:159
FunctionTestCopyOnWrite
(t *testing.T)
Chapter02/05_patterns/01_copy_on_write/copy_on_write_test.go:10
FunctionTestCreateUser_happyPath
(t *testing.T)
Chapter04/01_software_design_principles/05_accept_interface_return_struct/04_testability_improved/example_test.go:11
FunctionTestCreateUser_happyPath
(t *testing.T)
Chapter04/01_software_design_principles/05_accept_interface_return_struct/03_testability/example_test.go:13
FunctionTestDataRace
(t *testing.T)
Chapter01/04_data_races/01_torn_reads/01_race_test.go:9
FunctionTestDataRaceLess
(t *testing.T)
Chapter01/04_data_races/01_torn_reads/02_raceless_test.go:9
FunctionTestDecorate
(t *testing.T)
Chapter06/04_mocks_stubs_recorders/01_mocks/example_test.go:110
FunctionTestE2EEscalations_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:14
FunctionTestE2EEscalations_Update
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_update_test.go:14
FunctionTestE2EManager_Sync
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/manager_sync_test.go:14
FunctionTestE2ESchedules_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_add_test.go:14
FunctionTestE2ESchedules_Get
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_get_test.go:14
FunctionTestE2ESchedules_Update
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_update_test.go:14
FunctionTestE2ETeams_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/teams_add_test.go:15
FunctionTestE2ETeams_Get
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/teams_get_test.go:15
FunctionTestE2ETeams_GetByName
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/teams_get_by_name_test.go:15
FunctionTestE2EUsers_Add
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_add_test.go:15
FunctionTestE2EUsers_GetByEmail
(t *testing.T)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_get_by_email_test.go:15
FunctionTestEventListener
(t *testing.T)
Chapter02/05_patterns/04_event_listener/event_listener_test.go:10
FunctionTestExample
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
FunctionTestExample
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
FunctionTestExample
(t *testing.T)
Chapter01/06_sync/02_channel_wait_group/channel_waitgroup_test.go:9
FunctionTestExample
(t *testing.T)
Chapter01/06_sync/01_waitgroup/waitgroup_test.go:9
FunctionTestExample
(t *testing.T)
Chapter02/03_select/01_timeout/read_with_timeout_test.go:10
FunctionTestExample
(t *testing.T)
Chapter02/02_channels/04_channel_pointers/channel_pointers_test.go:9
FunctionTestExample
(t *testing.T)
Chapter02/01_go_routines/01_anonymous_closures/01_data_race_test.go:7
FunctionTestExample
(t *testing.T)
Chapter08/02_fun_with_functions/02_patterns/04_decoration/example_test.go:13
FunctionTestExampleClean
(t *testing.T)
Chapter06/05_test_ux/02_readability/02_magic_constants/example_test.go:15
FunctionTestExampleConfusing
(t *testing.T)
Chapter06/05_test_ux/02_readability/02_magic_constants/example_test.go:9
FunctionTestExampleUAT
(t *testing.T)
Chapter06/07_patterns_tricks/11_skipping_tests/02_env_var_test.go:16
FunctionTestExampleV2
(t *testing.T)
Chapter02/01_go_routines/01_anonymous_closures/02_data_race_test.go:7
FunctionTestExampleV3
(t *testing.T)
Chapter02/01_go_routines/01_anonymous_closures/03_data_race_test.go:7
FunctionTestFanInExample
(t *testing.T)
Chapter01/02_concurrency_model/02_select_data_flow/fan_in_test.go:10
FunctionTestFanOutExample
(t *testing.T)
Chapter01/02_concurrency_model/02_select_data_flow/fan_out_test.go:10
FunctionTestFileV1_implementsFile
(t *testing.T)
Chapter05/01_clarity/09_avoid_foreign_idioms/03_builder/03_builder_test.go:12
FunctionTestFunctionChaining
(t *testing.T)
Chapter08/02_fun_with_functions/02_patterns/05_function_chaining/example_test.go:9
FunctionTestGenerateHash
(t *testing.T)
Chapter05/01_clarity/13_panic/03_logfatal/example_test.go:8
FunctionTestGenerateJSON
(t *testing.T)
Chapter06/07_patterns_tricks/03_test_data/example_test.go:21
FunctionTestGenerateJSONWithGenerator
(t *testing.T)
Chapter06/07_patterns_tricks/03_test_data/example_test.go:42
FunctionTestGoodExample
(t *testing.T)
Chapter06/07_patterns_tricks/07_tests_complete/03_context_timeout/example_test.go:16
← previousnext →1,001–1,100 of 1,301, ranked by callers