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
GetDeptHeadsIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:366
Method
GetDeptHeadsIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations_test.go:281
Method
GetDeptHeadsIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:73
Method
GetDescription
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:406
Method
GetDescription
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:459
Method
GetDescription
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations_test.go:289
Method
GetDescription
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/services/services_test.go:203
Method
GetDescription
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules_test.go:297
Method
GetDescription
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_add_test.go:65
Method
GetDescription
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:57
Method
GetEmail
()
Chapter03/05_patterns/05_data/fixed.pb.go:74
Method
GetEmail
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:434
Method
GetEmail
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/users/users_test.go:150
Method
GetEmail
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_add_test.go:56
Method
GetEmailAddress
()
Chapter04/01_software_design_principles/05_accept_interface_return_struct/02_accept_interface/example.go:9
Method
GetEscalationPolicyID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:358
Method
GetEscalationPolicyID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/services/services_test.go:212
Method
GetHostConfig
()
Chapter04/02_design_patterns/04_adapter/03_go_types/example.go:31
Method
GetHostConfig
()
Chapter04/02_design_patterns/04_adapter/03_go_types/version1/config.go:12
Method
GetID
()
Chapter04/01_software_design_principles/01_minimalist_modular/02_composability.go:25
Method
GetID
()
Chapter03/05_patterns/05_data/fixed.pb.go:60
Method
GetLeadIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:390
Method
GetLeadIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations_test.go:277
Method
GetLeadIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules_test.go:285
Method
GetLeadIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_add_test.go:57
Method
GetLeadIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:69
Method
GetMaxNameLen
()
Chapter05/02_consistency/08_constructor_params/02_config_injection/example.go:34
Method
GetMaxNameLen
()
Chapter05/02_consistency/08_constructor_params/02_config_injection/example_usage_test.go:56
Method
GetMinNameLen
()
Chapter05/02_consistency/08_constructor_params/02_config_injection/example.go:33
Method
GetMinNameLen
()
Chapter05/02_consistency/08_constructor_params/02_config_injection/example_usage_test.go:52
Method
GetName
()
Chapter03/05_patterns/05_data/fixed.pb.go:67
Method
GetName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:430
Method
GetName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:455
Method
GetName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/users/users_test.go:146
Method
GetName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/services/services_test.go:199
Method
GetName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_add_test.go:52
Method
GetResponderIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:378
Method
GetResponderIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules_test.go:281
Method
GetResponderIDs
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_add_test.go:53
Method
GetScheduleID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:362
Method
GetScheduleID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations_test.go:273
Method
GetScheduleID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:61
Method
GetTeamID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:414
Method
GetTeamID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations_test.go:293
Method
GetTeamID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/services/services_test.go:216
Method
GetTeamID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules_test.go:301
Method
GetTeamID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_add_test.go:69
Method
GetTeamID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:65
Method
GetTeamName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:402
Method
GetTeamName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations_test.go:285
Method
GetTeamName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules_test.go:293
Method
GetTeamName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/schedules_add_test.go:61
Method
GetTeamName
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/escalations_add_test.go:53
Method
GetTeamRole
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:446
Method
GetTeamRole
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/teams/teams_test.go:306
Method
GetTimeZone
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:410
Method
GetTimeZone
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:438
Method
GetTimeZone
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/users/users_test.go:154
Method
GetTimeZone
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules_test.go:289
Method
GetTimeZone
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_add_test.go:60
Function
GetUserAPI
(resp http.ResponseWriter, req *http.Request)
Chapter06/01_what_when_why_how/03_how_much/01_untestable/example.go:8
Method
GetUserID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:426
Method
GetUserID
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/teams/teams_test.go:302
Method
GetUserRole
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager.go:442
Method
GetUserRole
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/users/users_test.go:158
Method
GetUserRole
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/users_add_test.go:64
Function
Handler
(resp http.ResponseWriter, req *http.Request)
Chapter05/01_clarity/11_errors/03_wrapped_errors/02_revisited/example.go:30
Function
Handler
(resp http.ResponseWriter, req *http.Request)
Chapter05/01_clarity/11_errors/02_named_errors/example.go:20
Method
Header
(text string)
Chapter04/02_design_patterns/02_factory_method/02_example/example.go:20
Method
Header
(text string)
Chapter04/02_design_patterns/02_factory_method/02_example/example.go:30
Method
Host
()
Chapter04/02_design_patterns/04_adapter/03_go_types/version2/config.go:4
Method
Host
()
Chapter04/02_design_patterns/04_adapter/03_go_types/version1/config.go:4
Function
ListUsersHandler
(resp http.ResponseWriter, req *http.Request)
Chapter08/02_fun_with_functions/02_patterns/02_middleware/02_middleware/example.go:16
Function
ListUsersHandler
(resp http.ResponseWriter, req *http.Request)
Chapter08/02_fun_with_functions/02_patterns/02_middleware/01_no_middleware/example.go:16
Method
ListUsersHandler
(http.Response, *http.Request)
Chapter04/01_software_design_principles/06_singles/01_purpose/01_user_management_endpoints.go:23
Method
Load
(ID int)
Chapter04/01_software_design_principles/05_accept_interface_return_struct/05_implicit_interfaces/example.go:22
Method
LoadAll
()
Chapter04/01_software_design_principles/07_interface_segregation/01_fat_interface/example.go:11
Method
LoadByID
(id int)
Chapter06/07_patterns_tricks/04_private_constructors/04_globals/example.go:24
Method
LoadByID
(ctx context.Context, id int)
Chapter06/07_patterns_tricks/12_global_state/02_after/example.go:21
Method
LoadByID
(ctx context.Context, id int)
Chapter06/07_patterns_tricks/12_global_state/01_before/example.go:13
Method
LoadByID
(int)
Chapter05/03_predictability/03_encapsulation/02_leak_implementation/02_not_leaking/example.go:8
Method
LoadByID
(ID int)
Chapter05/02_consistency/08_constructor_params/02_config_injection/example.go:50
Method
LoadByID
(ID int)
Chapter05/02_consistency/08_constructor_params/01_private_constructors/03_one_implementation/example.go:44
Method
LoadByID
(ID int)
Chapter05/02_consistency/08_constructor_params/01_private_constructors/02_only_for_testing/example.go:36
Method
LoadByID
(ID int)
Chapter05/02_consistency/08_constructor_params/01_private_constructors/01_original/example.go:32
Method
LoadByID
LoadByID provides a mock function with given fields: ctx, userID
Chapter09/03_code_generation/01_brief_intro/mock_user_loader_test.go:17
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/01_brief_intro/generate.go:7
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v6/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v5/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v7/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v1/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v8/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v4/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v2/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/03_generator_v3/testdata/input_interface.go:10
Method
LoadByID
(ctx context.Context, userID int64)
Chapter09/03_code_generation/02_stub_generator/01_go_ast/input_interface.go:10
Function
LoadUser
(idAsString string)
Chapter05/01_clarity/13_panic/01_exceptions/example.go:8
Function
LoadUser
(ctx context.Context, ID int)
Chapter05/01_clarity/12_globals/01_magic/example.go:18
Function
LockNoDefer
(mutex *sync.Mutex)
Chapter03/03_pprof/04_mutex_profiling/02_defer/main.go:20
Function
LockWithDefer
()
Chapter03/03_pprof/04_mutex_profiling/02_defer/main.go:12
← previous
next →
801–900 of 1,301, ranked by callers