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
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api_get_test.go:116
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations_test.go:305
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/escalations/escalations.go:232
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/services/services_test.go:228
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/services/services.go:187
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules.go:271
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/schedules/schedules_test.go:313
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/shared_test.go:17
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/teams/teams_test.go:318
Method
Debug
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/cmd/main.go:79
Method
Decorate
(receipt *Receipt)
Chapter06/04_mocks_stubs_recorders/01_mocks/example.go:81
Method
Delete
(u *User)
Chapter06/04_mocks_stubs_recorders/03_quick_mocks/example_test.go:6
Method
DeleteUserHandler
(http.Response, *http.Request)
Chapter04/01_software_design_principles/06_singles/01_purpose/01_user_management_endpoints.go:19
Method
Descriptor
()
Chapter03/05_patterns/05_data/fixed.pb.go:38
Method
Do
Do provides a mock function with given fields:
Chapter06/06_test_resilience/mock_dep_c_test.go:15
Method
Do
Do provides a mock function with given fields:
Chapter06/06_test_resilience/mock_dep_a_test.go:15
Method
Do
Do provides a mock function with given fields:
Chapter06/06_test_resilience/mock_dep_b_test.go:15
Method
Do
()
Chapter06/06_test_resilience/example.go:30
Method
Do
()
Chapter06/06_test_resilience/example.go:35
Method
Do
(ctx context.Context, customerName string)
Chapter06/07_patterns_tricks/05_fluent_api/01_first_iteration/example.go:15
Method
Do
()
Chapter02/05_patterns/03_reply_channel/03_reply_channel.go:37
Method
DoQuery
(q string, args ...interface{})
Chapter05/03_predictability/03_encapsulation/02_leak_implementation/01_leaking/example.go:8
Function
DoWork
()
Chapter08/02_fun_with_functions/01_understanding/01_anonymous/01_regular/example.go:3
Function
EmailIsValid
(in <-chan *User)
Chapter08/02_fun_with_functions/02_patterns/05_function_chaining/example.go:63
Method
Encode
()
Chapter05/01_clarity/09_avoid_foreign_idioms/02_singleton_v2/example.go:22
Method
Encode
(plainText string)
Chapter05/02_consistency/08_constructor_params/02_config_injection/example.go:38
Method
Encode
(plainText string)
Chapter05/02_consistency/08_constructor_params/02_config_injection/example.go:44
Method
Encode
(plainText string)
Chapter05/02_consistency/08_constructor_params/01_private_constructors/03_one_implementation/example.go:32
Method
Encode
(plainText string)
Chapter05/02_consistency/08_constructor_params/01_private_constructors/03_one_implementation/example.go:38
Method
Encode
(plainText string)
Chapter05/02_consistency/08_constructor_params/01_private_constructors/02_only_for_testing/example.go:32
Method
Encode
(plainText string)
Chapter05/02_consistency/08_constructor_params/01_private_constructors/01_original/example.go:28
Method
Error
(message string, tags ...Tag)
Chapter04/02_design_patterns/04_adapter/01_simple/example.go:16
Method
Error
implement OldLogger interface
Chapter04/02_design_patterns/04_adapter/01_simple/example.go:28
Method
Error
(message string, tags ...Tag)
Chapter04/02_design_patterns/04_adapter/01_simple/example.go:44
Method
Error
(message string, args ...interface{})
Chapter06/04_mocks_stubs_recorders/04_test_recorders/example_test.go:18
Method
Error
()
Chapter05/01_clarity/11_errors/03_wrapped_errors/01_custom_type/example.go:7
Function
ErrorHandling
()
Chapter05/02_consistency/01_style/04_error_style.go:3
Function
Example
()
Chapter04/01_software_design_principles/05_accept_interface_return_struct/05_implicit_interfaces/example_test.go:7
Function
Example
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/01_composition/example_test.go:5
Function
Example
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/02_anonymous/example_test.go:3
Function
Example
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/03_implements/example_test.go:5
Function
Example
()
Chapter07/06_mastery/02_master_your_ide/01_context_actions/01_populate_struct.go:5
Function
Example
()
Chapter06/08_test_induced_damage/02_outputs/02_after/example.go:3
Function
Example
()
Chapter06/08_test_induced_damage/02_outputs/01_before/example.go:3
Function
Example
(items []string)
Chapter05/01_clarity/04_naming/02_concise/01_loop_indices.go:3
Function
Example
(signalCh chan struct{})
Chapter02/02_channels/01_slow_consumers/slow_consumers.go:3
Function
Example
(stopCh chan struct{})
Chapter02/02_channels/03_skip_close/skip_close.go:3
Function
Example
()
Chapter02/02_channels/02_read_from_closed/01_read.go:7
Function
Example
(stopCh chan struct{}, workCh chan Data)
Chapter02/04_semaphores/01_limit_pending/limit_pending.go:7
Function
Example
(stopCh chan struct{}, lightWorkCh chan Data, heavyWorkCh chan Data)
Chapter02/04_semaphores/02_weighted/weighted.go:16
Function
Example
()
Chapter02/07_trouble/02_cross_streams/cross_streams.go:7
Function
Example
()
Chapter08/03_futures/02_channel_based/example_test.go:8
Function
Example
()
Chapter08/03_futures/01_function_based/example_test.go:9
Function
Example
()
Chapter08/04_struct_tricks/01_empty/01_size/example_test.go:10
Function
Example
()
Chapter08/04_struct_tricks/02_anonymous/01_example/example_test.go:8
Function
Example
()
Chapter08/04_struct_tricks/03_nocopy/example_test.go:15
Function
Example1
()
Chapter02/01_go_routines/03_clean_up/01_infinite_goroutine.go:3
Function
Example2
(payload []byte)
Chapter07/06_mastery/02_master_your_ide/01_context_actions/02_fix.go:7
Function
Example2
()
Chapter02/01_go_routines/03_clean_up/02_signal_channel.go:3
Function
Example3
()
Chapter02/01_go_routines/03_clean_up/03_context.go:11
Function
ExampleExtended
()
Chapter02/02_channels/02_read_from_closed/02_read_extended.go:7
Function
ExampleImage
()
Chapter08/02_fun_with_functions/02_patterns/01_abstract_methods/example_test.go:3
Function
ExampleMultiply
()
Chapter08/01_functional_programming/04_currying/01_normal/example_test.go:7
Function
ExampleMultiply_LongForm
()
Chapter08/01_functional_programming/04_currying/02_function_currying/example_test.go:14
Function
ExampleMultiply_ShortForm
()
Chapter08/01_functional_programming/04_currying/02_function_currying/example_test.go:7
Function
ExampleMultiply_notFP
()
Chapter08/01_functional_programming/04_currying/01_normal/example_test.go:14
Function
ExampleReadAllNoBoolean
()
Chapter02/02_channels/02_read_from_closed/03_read_all.go:3
Function
ExampleReadAllRange
()
Chapter02/02_channels/02_read_from_closed/03_read_all.go:26
Function
ExampleReadAllWithBoolean
()
Chapter02/02_channels/02_read_from_closed/03_read_all.go:13
Function
ExampleToLower
()
Chapter08/01_functional_programming/05_referential_transparency/01_maps/example_test.go:3
Function
ExampleToLower
()
Chapter08/01_functional_programming/05_referential_transparency/02_slices/example_test.go:3
Function
Example_buildGreeting
()
Chapter08/02_fun_with_functions/01_understanding/02_closures/01_greetings/example_test.go:7
Function
Example_buildTotaler
()
Chapter08/02_fun_with_functions/01_understanding/02_closures/02_state/example_test.go:7
Function
Example_delegation
()
Chapter04/01_software_design_principles/03_delegation/02_delegation/example_test.go:5
Function
Example_noDelegation
()
Chapter04/01_software_design_principles/03_delegation/01_no_delegation/example_test.go:5
Function
Example_recordUserLogin
()
Chapter04/01_software_design_principles/01_minimalist_modular/02_composability_example_test.go:3
Function
Example_recordUserLoginByID
()
Chapter04/01_software_design_principles/01_minimalist_modular/02_composability_example_test.go:8
Function
Example_structNames
()
Chapter05/01_clarity/04_naming/01_meaningful/01_struct_names_test.go:3
Function
Example_variableName
()
Chapter05/01_clarity/04_naming/01_meaningful/02_function_names_test.go:3
Function
ExtractVersionFromID
Extract version from ID in the format xx-yyyy
Chapter05/01_clarity/11_errors/01_replace_constants/example.go:9
Function
ExtractVersionFromIDImproved
Extract version from ID in the format xx-yyyy
Chapter05/01_clarity/11_errors/01_replace_constants/example_improved.go:16
Method
Filename
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/manager_test.go:75
Method
Filename
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/tests/e2e/shared_test.go:9
Method
Filename
()
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/cmd/main.go:83
Method
Fly
()
Chapter04/01_software_design_principles/04_composition_over_inheritance/02_anonymous/example.go:5
Method
Get
(key string)
Chapter04/02_design_patterns/01_singleton/02_strict/example.go:29
Method
Get
()
Chapter05/01_clarity/09_avoid_foreign_idioms/01_singleton_v1/example.go:23
Method
Get
()
Chapter05/01_clarity/09_avoid_foreign_idioms/02_singleton_v2/example.go:34
Method
Get
(index int)
Chapter01/06_sync/04_mutex/02_reentrant/reentrant.go:13
Method
Get
(index int)
Chapter01/06_sync/04_mutex/01_deadlock/deadlock.go:13
Method
Get
(key string)
Chapter01/02_concurrency_model/03_csp_usability/02_cache_mutex.go:20
Method
Get
(ctx context.Context, uri string, params url.Values, respDTO interface{})
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/pd/api.go:32
Method
Get
(ctx context.Context, serviceID string)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/services/services.go:37
Method
Get
(ctx context.Context, teamID string)
Chapter09/01_api_integrations/examples_apps/pagerduty-manager/internal/teams/teams.go:41
Method
Get
(ctx context.Context)
Chapter02/05_patterns/07_pool/pool.go:27
Function
GetCache
()
Chapter04/02_design_patterns/01_singleton/02_strict/example.go:12
Method
GetCity
()
Chapter03/05_patterns/05_data/fixed.pb.go:81
Method
GetCountry
()
Chapter03/05_patterns/05_data/fixed.pb.go:88
Method
GetDBPool
()
Chapter05/02_consistency/08_constructor_params/02_config_injection/example.go:31
Method
GetDBPool
()
Chapter05/02_consistency/08_constructor_params/02_config_injection/example_usage_test.go:47
← previous
next →
701–800 of 1,301, ranked by callers