Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/betty200744/ultimate-go
/ functions
Functions
2,090 in github.com/betty200744/ultimate-go
⨍
Functions
2,090
◇
Types & classes
433
↓ 2 callers
Method
checkPassword
(pwd int)
design-pattern/structual/facade/facade.go:88
↓ 2 callers
Function
concatV2
(str string, count int)
diagnostics/profiling/pprof/handler/concat.go:24
↓ 2 callers
Method
displayName
displayName provides a pretty print view of the name. It uses data as a value receiver.
Language_Specification/reference-type/struct/struct_method_set.go:13
↓ 2 callers
Function
encodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:198
↓ 2 callers
Function
encodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:201
↓ 2 callers
Function
encodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:211
↓ 2 callers
Function
encodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:211
↓ 2 callers
Function
encodeVarintHelloworld
(dAtA []byte, offset int, v uint64)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:276
↓ 2 callers
Function
file_greeting_proto_rawDescGZIP
()
kubernetes/proto/greeting.pb.go:142
↓ 2 callers
Function
file_helloworld_helloworld_proto_rawDescGZIP
()
awesome-go/gogoprobuf/proto/protoc-gen-go-grpc/helloworld/helloworld.pb.go:148
↓ 2 callers
Function
file_helloworld_proto_rawDescGZIP
()
awesome-go/packr/templates/proto/helloworld/helloworld.pb.go:143
↓ 2 callers
Function
funcName
(foo FooInterface)
main.go:28
↓ 2 callers
Function
funcName
(foo FooInterface)
Language_Specification/reference-type/interfaces/interfaces_cheat_sheet.go:113
↓ 2 callers
Method
getId
()
design-pattern/creational/object_pool/connection.go:6
↓ 2 callers
Function
getValueByField
(field string, s interface{})
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:115
↓ 2 callers
Function
initPrintVisitor
(w io.Writer, prefix string)
awesome-go/protoc-gen-star/printer.go:64
↓ 2 callers
Function
isOverlap
(rangeArray [][]int64)
build-in-package/math/math_cheat_sheet.go:7
↓ 2 callers
Method
leafPrefix
()
awesome-go/protoc-gen-star/printer.go:73
↓ 2 callers
Function
makeRPCs
(cc *grpc.ClientConn, n int)
awesome-go/grpc-go/features/load_balancing/client/main.go:50
↓ 2 callers
Function
makeRPCs
(cc *grpc.ClientConn, n int)
awesome-go/grpc-go/features/name_resolving/client/main.go:50
↓ 2 callers
Function
makeRequest
(done chan struct{}, c *http.Client, page string, i int64)
diagnostics/goland_debug/goland_debug.go:60
↓ 2 callers
Function
max
(a, b int)
leetcode/binary_search/543_diameterOfBinaryTree/543_diameterOfBinaryTree.go:32
↓ 2 callers
Function
printFeature
printFeature gets the feature for the given point.
awesome-go/grpc-go/route_guide/client/client.go:47
↓ 2 callers
Method
setAge
setAge sets the age and displays the value. It uses data as a pointer receiver.
Language_Specification/reference-type/struct/struct_method_set.go:19
↓ 2 callers
Function
skipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:411
↓ 2 callers
Function
skipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:414
↓ 2 callers
Function
skipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:432
↓ 2 callers
Function
skipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:432
↓ 2 callers
Function
skipHelloworld
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:511
↓ 2 callers
Function
streamingCall
(c pb.EchoClient, requestID int, message string, want codes.Code)
awesome-go/grpc-go/features/deadline/client/main.go:49
↓ 2 callers
Function
swap
(x, y string)
Language_Specification/basics.go:19
↓ 2 callers
Function
valid
valid validates the authorization.
awesome-go/grpc-go/features/interceptor/server/main.go:84
↓ 2 callers
Function
variadic
(nums ...interface{})
Language_Specification/reference-type/function/functions.go:27
↓ 1 callers
Function
AESDecrypt
(ciphertext []byte)
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:26
↓ 1 callers
Function
AESEncrypt
Advanced Encryption Standard https://zh.wikipedia.org/wiki/%E9%AB%98%E7%BA%A7%E5%8A%A0%E5%AF%86%E6%A0%87%E5%87%86
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:17
↓ 1 callers
Function
ASTPrinter
()
awesome-go/protoc-gen-star/printer.go:17
↓ 1 callers
Function
Add
variables , shard type
Language_Specification/basics.go:15
↓ 1 callers
Function
Add
(wg *sync.WaitGroup, m *sync.Mutex)
LearnConcurrency/communicate_channel/mutex/mutex.go:12
↓ 1 callers
Method
Add
(v string)
build-in-package/sync/sync-value_test.go:19
↓ 1 callers
Method
Add
(values ...interface{})
algorithms/data-structures/lists/lists.go:9
↓ 1 callers
Method
Add
(elements ...interface{})
algorithms/data-structures/sets/hashset/hashset.go:24
↓ 1 callers
Function
AddTwoNumbers
(l1 *ListNode, l2 *ListNode)
leetcode/linked_list/2_addTwoNumbers/addTwoNumbers.go:14
↓ 1 callers
Function
Any
(vs interface{}, f func(interface{}) bool)
Language_Specification/reference-type/slice/slice_collection_function.go:29
↓ 1 callers
Function
App
()
Language_Specification/packages/app/app.go:16
↓ 1 callers
Method
Bar
(x int)
mock/foo/foo.go:5
↓ 1 callers
Function
Base64Decode
(s string)
Language_Specification/build-in-type/str/str.go:13
↓ 1 callers
Function
Base64Encode
(s string)
Language_Specification/build-in-type/str/str.go:10
↓ 1 callers
Function
Base64InBytes
(max int)
awesome-go/securerandom/securerandom.go:9
↓ 1 callers
Function
BreadthFirst
(root *Node)
leetcode/binary_search/112_Path_Sum/112_Path_Sum.go:19
↓ 1 callers
Function
BreadthFirst
Breadth-first search
algorithms/data-structures/tree/binary_tree/binary_tree.go:75
↓ 1 callers
Method
Build
(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOption)
awesome-go/grpc-go/features/load_balancing/client/main.go:93
↓ 1 callers
Function
BuildStringFromOptions
(opts Options)
build-in-package/net/url/url.go:23
↓ 1 callers
Function
Bytes
(n int)
awesome-go/securerandom/securerandom.go:16
↓ 1 callers
Function
CamelCase
(s string)
build-in-package/strings/strings_reader.go:8
↓ 1 callers
Function
CamelCaseToUnderscore
(str string)
build-in-package/strings/string_underscore.go:18
↓ 1 callers
Function
Channel1
for loop, exit when i >3
Language_Specification/reference-type/channel/channel.go:10
↓ 1 callers
Function
Channel2
exit for range loop by close channel
Language_Specification/reference-type/channel/channel.go:21
↓ 1 callers
Function
Channel3
exit for while loop by ctx.Done
Language_Specification/reference-type/channel/channel.go:34
↓ 1 callers
Function
Channel4
receive only channel 不能 close,直接编译错误。但 send only channel 是可以被正常 close 的
Language_Specification/reference-type/channel/channel.go:51
↓ 1 callers
Function
Channel5
send to a close channel, then panic
Language_Specification/reference-type/channel/channel.go:66
↓ 1 callers
Function
Channel6
receive a close channel, then default value
Language_Specification/reference-type/channel/channel.go:73
↓ 1 callers
Method
CloseAndRecv
()
awesome-go/grpc-go/route_guide/routeguide/route_guide.pb.go:403
↓ 1 callers
Method
CloseAndRecv
()
awesome-go/grpc-go/features/proto/echo/echo.pb.go:191
↓ 1 callers
Function
ConcatHandler
(w http.ResponseWriter, r *http.Request)
diagnostics/profiling/pprof/handler/concat.go:31
↓ 1 callers
Function
Convert
error to Status Convert is a convenience function which removes the need to handle the boolean return value from FromError.
design-pattern/go-design/grpc_go_error_handling/status/status.go:68
↓ 1 callers
Function
CopyContext
(ctx context.Context)
utils/ctx.go:9
↓ 1 callers
Function
CreateProject
()
awesome-go/packr/project.go:29
↓ 1 callers
Method
DeRegister
(id string)
awesome-go/consul/register/register.go:14
↓ 1 callers
Function
Del
(keys ...interface{})
Language_Specification/hello-world.go:11
↓ 1 callers
Method
Del
(key string)
awesome-go/freecache/localcache/localcache.go:43
↓ 1 callers
Function
Depopulate
Depopulate to map
Language_Specification/reference-type/struct/struct_tag.go:44
↓ 1 callers
Method
Dequeue
()
algorithms/data-structures/queue/queue.go:44
↓ 1 callers
Function
DetailById
(id int64)
LearnConcurrency/user_concurrency/user_concurrency.go:27
↓ 1 callers
Function
DiameterOfBinaryTree
(root *TreeNode)
leetcode/binary_search/543_diameterOfBinaryTree/543_diameterOfBinaryTree.go:38
↓ 1 callers
Function
Do
()
LearnConcurrency/goroutines/goroutine_error_handling.go:26
↓ 1 callers
Function
DoPost
(formType int, url string, header map[string]string, body []byte)
build-in-package/http/http.go:109
↓ 1 callers
Function
Download
(url string)
build-in-package/http/http.go:68
↓ 1 callers
Function
ECBDecrypt
(ciphertext []byte)
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:69
↓ 1 callers
Function
ECBEncrypt
ECB, Electronic codebook
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:59
↓ 1 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use
mock/foo/mock/mock.go:31
↓ 1 callers
Method
EXPECT
()
awesome-go/grpc-go/helloworld/mock_helloworld/hw_mock.go:30
↓ 1 callers
Method
EXPECT
()
awesome-go/grpc-go/route_guide/mock_routeguide/rg_mock.go:31
↓ 1 callers
Method
Each
(f func(index int, value interface{}))
algorithms/data-structures/lists/arraylist/arraylist.go:86
↓ 1 callers
Function
EncodeMD5Base64
(v []byte)
build-in-package/crypto/hashing/md5.go:15
↓ 1 callers
Function
EncodeMD5Hex
(v []byte)
build-in-package/crypto/hashing/md5.go:9
↓ 1 callers
Function
EncodeParam
(s string)
build-in-package/net/url/url.go:38
↓ 1 callers
Function
EncodeStringBase64
(s string)
build-in-package/net/url/url.go:42
↓ 1 callers
Function
Error
Error returns an error representing c and msg. If c is OK, returns nil.
design-pattern/go-design/grpc_go_error_handling/status/status.go:40
↓ 1 callers
Function
ErrorTest
()
build-in-package/fmt/fmt-test.go:5
↓ 1 callers
Function
EscapeHttpHeader
(input string)
utils/network.go:8
↓ 1 callers
Method
Exec
(string, ...interface{})
awesome-go/go-pinyin/go-pinyin.go:13
↓ 1 callers
Function
Exists
(path string)
build-in-package/filepath/filepath.go:20
↓ 1 callers
Method
ExtractMax
删除root, 删除前先与last交换,最后删除lastItem, 因为root变了, 所有需要MaxHeapifyDown
algorithms/data-structures/heap/maxheap/maxheap.go:72
↓ 1 callers
Method
ExtractMin
删除root, 删除前先与last交换,最后删除lastItem, 因为root变了, 所有需要MaxHeapifyDown
algorithms/data-structures/heap/minheap/minheap.go:70
↓ 1 callers
Function
Factorial
(n int)
leetcode/dynamic_programming/factorial/factorial.go:3
↓ 1 callers
Function
FactorialDP_Memoization
(n int)
leetcode/dynamic_programming/factorial/factorial.go:18
↓ 1 callers
Function
FactorialDP_Tabulation
(n int)
leetcode/dynamic_programming/factorial/factorial.go:10
↓ 1 callers
Function
FakeTraffic
()
diagnostics/goland_debug/goland_debug.go:15
↓ 1 callers
Function
FakeTraffic2
()
diagnostics/goland_debug/goland_debug.go:36
↓ 1 callers
Method
Fetch
Fetch fetches data
design-pattern/structual/decorator/decorator.go:15
← previous
next →
301–400 of 2,090, ranked by callers