Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Go-Programming-Cookbook-Second-Edition
/ functions
Functions
795 in github.com/PacktPublishing/Go-Programming-Cookbook-Second-Edition
⨍
Functions
795
◇
Types & classes
269
Function
TestProcess
(t *testing.T)
chapter10/pool/work_test.go:5
Function
TestProcessResponse
(t *testing.T)
chapter12/asynckafka/producer/producer_test.go:11
Function
TestProcessor
(t *testing.T)
chapter10/state/processor_test.go:9
Function
TestProxy_ProcessRequest
(t *testing.T)
chapter8/proxy/process_test.go:11
Function
TestProxy_ServeHTTP
(t *testing.T)
chapter8/proxy/proxy_test.go:9
Function
TestQuery
(t *testing.T)
chapter6/database/query_test.go:13
Function
TestQuery
(t *testing.T)
chapter6/dbinterface/query_test.go:13
Function
TestReadCSV
(t *testing.T)
chapter1/csvformat/read_csv_test.go:10
Function
TestReadItems
(t *testing.T)
chapter14/fastweb/items_test.go:25
Function
TestReportHandler
(t *testing.T)
chapter11/metrics/report_test.go:9
Function
TestResolve
(t *testing.T)
chapter12/graphql/cards/resolve_test.go:10
Function
TestRestorer_Restore
(t *testing.T)
chapter9/mocking/patch_test.go:5
Function
TestRunTemplate
(t *testing.T)
chapter1/templates/templates_test.go:5
Function
TestSafeMap_Get
(t *testing.T)
chapter10/atomic/map_test.go:52
Function
TestSafeMap_Set
(t *testing.T)
chapter10/atomic/map_test.go:25
Function
TestSearchString
(t *testing.T)
chapter1/bytestrings/string_test.go:5
Function
TestSender
(t *testing.T)
chapter10/channels/sender_test.go:6
Function
TestSerializeStructStrings
(t *testing.T)
chapter3/tags/serialize_test.go:5
Function
TestSetID
(t *testing.T)
chapter8/middleware/context_test.go:10
Function
TestSetLog
(t *testing.T)
chapter4/global/global_test.go:26
Function
TestSetup
(t *testing.T)
chapter7/client/client_test.go:9
Function
TestSetup
(t *testing.T)
chapter7/decorator/config_test.go:5
Function
TestSetup
(t *testing.T)
chapter7/oauthcli/config_test.go:13
Function
TestSetup
(t *testing.T)
chapter11/orchestrate/config_test.go:8
Function
TestSetup
(t *testing.T)
chapter12/graphql/cards/schema_test.go:5
Function
TestSetup
(t *testing.T)
chapter6/mongodb/config_test.go:8
Function
TestSetup
(t *testing.T)
chapter6/database/config_test.go:9
Function
TestSetup
(t *testing.T)
chapter6/pools/pools_test.go:9
Function
TestSetup
(t *testing.T)
chapter6/redis/config_test.go:5
Function
TestSetup
(t *testing.T)
chapter10/context/values_test.go:9
Function
TestShowConv
(t *testing.T)
chapter3/dataconv/dataconv_test.go:5
Function
TestSomeFunc
(t *testing.T)
chapter4/basicerrors/custom_test.go:22
Function
TestSort
(t *testing.T)
chapter6/redis/sort_test.go:5
Function
TestStackTrace
(t *testing.T)
chapter4/errwrap/unwrap_test.go:18
Function
TestStorageTokenSource
(t *testing.T)
chapter7/oauthstore/tokensource_test.go:34
Function
TestStrconv
(t *testing.T)
chapter3/dataconv/strconv_test.go:5
Function
TestStringReader
(t *testing.T)
chapter1/bytestrings/string_test.go:31
Function
TestStringTweaker_Tweak
(t *testing.T)
chapter5/rpc/tweak/tweak_test.go:5
Function
TestTOMLData_Decode
(t *testing.T)
chapter2/confformat/toml_test.go:42
Function
TestTOMLData_ToTOML
(t *testing.T)
chapter2/confformat/toml_test.go:9
Function
TestThrowError
(t *testing.T)
chapter9/mocking/exec_test.go:8
Function
TestThrowError
(t *testing.T)
chapter4/structured/apex_test.go:10
Function
TestTimerHandler
(t *testing.T)
chapter11/metrics/handler_test.go:27
Function
TestToString
(t *testing.T)
chapter1/bytestrings/buffer_test.go:25
Function
TestTransportFunc_RoundTrip
(t *testing.T)
chapter7/decorator/decorator_test.go:9
Function
TestUnmarshalAll
(t *testing.T)
chapter2/confformat/unmarshal_test.go:5
Function
TestUnwrap
(t *testing.T)
chapter4/errwrap/unwrap_test.go:5
Function
TestUpper_OnVal
(t *testing.T)
chapter12/kafkaflow/components_test.go:9
Function
TestUseLog
(t *testing.T)
chapter4/global/log_test.go:5
Function
TestValidatePayload
(t *testing.T)
chapter8/validation/validate_test.go:5
Function
TestVersionHandler
(t *testing.T)
chapter11/docker/version_test.go:10
Function
TestWithField
(t *testing.T)
chapter4/global/global_test.go:43
Function
TestWordCount
(t *testing.T)
chapter2/pipes/pipes_test.go:10
Function
TestWorkWithBuffer
(t *testing.T)
chapter1/bytestrings/bytes_test.go:7
Function
TestWorkWithTemp
(t *testing.T)
chapter1/tempfiles/temp_files_test.go:5
Function
TestWorker
(t *testing.T)
chapter10/pool/worker_test.go:26
Function
TestWrap
(t *testing.T)
chapter4/errwrap/errwrap_test.go:29
Function
TestWrappedError
(t *testing.T)
chapter4/errwrap/errwrap_test.go:8
Function
TestWriteCSVBuffer
(t *testing.T)
chapter1/csvformat/write_csv_test.go:58
Function
TestWriteCSVOutput
(t *testing.T)
chapter1/csvformat/write_csv_test.go:42
Function
TestYAMLData_Decode
(t *testing.T)
chapter2/confformat/yaml_test.go:40
Function
TestYAMLData_ToYAML
(t *testing.T)
chapter2/confformat/yaml_test.go:9
Function
Test_c_example3
(t *testing.T)
chapter9/tools/structs_test.go:9
Function
Test_client_Register
(t *testing.T)
chapter11/discovery/operations_test.go:9
Function
Test_client_Service
(t *testing.T)
chapter11/discovery/operations_test.go:34
Function
Test_compareWork
(t *testing.T)
chapter10/pool/crypto_test.go:22
Function
Test_concat
(t *testing.T)
chapter14/tuning/concat_test.go:5
Function
Test_example
(t *testing.T)
chapter9/tools/funcs_test.go:9
Function
Test_example2
(t *testing.T)
chapter9/tools/funcs_test.go:23
Function
Test_gatherLocation
(t *testing.T)
chapter4/context/collect_test.go:38
Function
Test_gatherName
(t *testing.T)
chapter4/context/collect_test.go:21
Function
Test_getFields
(t *testing.T)
chapter4/context/log_test.go:11
Function
Test_hashWork
(t *testing.T)
chapter10/pool/crypto_test.go:5
Function
Test_join
(t *testing.T)
chapter14/tuning/join_test.go:5
Function
Test_state_CanTransition
(t *testing.T)
chapter11/consensus/state_test.go:5
Function
Test_state_Transition
(t *testing.T)
chapter11/consensus/state_test.go:31
Function
Test_storageTokenSource_Token
(t *testing.T)
chapter7/oauthstore/tokensource_test.go:11
Method
UnmarshalJSON
(b []byte)
chapter3/nulls/nullencoding.go:25
Function
WriteError
WriteError writes an HTTP response with a valid Twirp error format. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)
chapter7/twirp/rpc/greeter/greeter.twirp.go:368
Method
XXX_DiscardUnknown
()
chapter7/twirp/rpc/greeter/greeter.pb.go:47
Method
XXX_DiscardUnknown
()
chapter7/twirp/rpc/greeter/greeter.pb.go:92
Method
XXX_Marshal
(b []byte, deterministic bool)
chapter7/twirp/rpc/greeter/greeter.pb.go:38
Method
XXX_Marshal
(b []byte, deterministic bool)
chapter7/twirp/rpc/greeter/greeter.pb.go:83
Method
XXX_Merge
(src proto.Message)
chapter7/twirp/rpc/greeter/greeter.pb.go:41
Method
XXX_Merge
(src proto.Message)
chapter7/twirp/rpc/greeter/greeter.pb.go:86
Method
XXX_Size
()
chapter7/twirp/rpc/greeter/greeter.pb.go:44
Method
XXX_Size
()
chapter7/twirp/rpc/greeter/greeter.pb.go:89
Method
XXX_Unmarshal
(b []byte)
chapter7/twirp/rpc/greeter/greeter.pb.go:35
Method
XXX_Unmarshal
(b []byte)
chapter7/twirp/rpc/greeter/greeter.pb.go:80
Function
_GreeterService_Greet_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
chapter7/grpc/greeter/greeter.pb.go:123
Function
_KeyValue_Get_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
chapter8/grpcjson/keyvalue/keyvalue.pb.go:178
Function
_KeyValue_Set_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
chapter8/grpcjson/keyvalue/keyvalue.pb.go:160
Function
init
()
chapter7/twirp/rpc/greeter/greeter.pb.go:105
Function
init
()
chapter7/grpc/greeter/greeter.pb.go:77
Function
init
()
chapter11/docker/example/main.go:20
Function
init
()
chapter11/consensus/state.go:13
Function
init
()
chapter11/consensus/raftset.go:12
Function
init
()
chapter14/fastweb/items.go:10
Function
init
()
chapter12/graphql/cards/card.go:12
Function
init
()
chapter8/grpcjson/keyvalue/keyvalue.pb.go:102
← previous
next →
601–700 of 795, ranked by callers