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
↓ 3 callers
Function
WriteHostStatsWithLineProtocol
(ctx context.Context, pid, qid, bside string, total, live, used float64, ctime int64)
awesome-go/influxdb-client-go/basic_example/wirte_data.go:64
↓ 3 callers
Function
fibIterative
(n int64)
diagnostics/profiling/pprof/handler/fib.go:17
↓ 3 callers
Function
fibRecursive
(n int64)
diagnostics/profiling/pprof/handler/fib.go:10
↓ 3 callers
Function
getClient
()
awesome-go/influxdb-client-go/basic_example/wirte_data.go:32
↓ 3 callers
Function
logger
logger is to mock a sophisticated logging system. To simplify the example, we just print out the content.
awesome-go/grpc-go/features/interceptor/client/main.go:43
↓ 3 callers
Function
newHTTPClient
()
build-in-package/http/http.go:29
↓ 3 callers
Method
notify
()
Language_Specification/reference-type/struct_embedding/struct_embedding.go:6
↓ 3 callers
Method
peekFirst
()
algorithms/data-structures/lists/singlylinkedlist/singlylinkedlist.go:120
↓ 3 callers
Method
peekLast
()
algorithms/data-structures/lists/singlylinkedlist/singlylinkedlist.go:126
↓ 3 callers
Function
recvMessage
(stream pb.Echo_BidirectionalStreamingEchoClient, wantErrCode codes.Code)
awesome-go/grpc-go/features/cancellation/client/main.go:42
↓ 3 callers
Function
sendMessage
(stream pb.Echo_BidirectionalStreamingEchoClient, msg string)
awesome-go/grpc-go/features/cancellation/client/main.go:37
↓ 3 callers
Function
sendNotification
-------------------- Polymorphic function --------------------
Language_Specification/reference-type/struct_embedding/struct_embedding.go:32
↓ 3 callers
Method
writeLeaf
(str string)
awesome-go/protoc-gen-star/printer.go:85
↓ 2 callers
Method
Add
(values ...interface{})
algorithms/data-structures/lists/arraylist/arraylist.go:41
↓ 2 callers
Method
AddChild
(node *Node)
design-pattern/structual/composite/composite.go:17
↓ 2 callers
Function
All
(vs interface{}, f func(interface{}) bool)
Language_Specification/reference-type/slice/slice_collection_function.go:39
↓ 2 callers
Method
Append3
better
effective-go/methods/pointers-vs-values.go:22
↓ 2 callers
Function
AppendContext
(ctx context.Context, key, val string)
utils/ctx.go:17
↓ 2 callers
Function
BreadthFirst
(root *TreeNode)
leetcode/binary_search/226_invertTree/226_invertTree.go:31
↓ 2 callers
Function
BreadthFirst
(root *Node)
leetcode/binary_search/199_Binary_Tree_Right_Side_View/199_Binary_Tree_Right_Side_View.go:18
↓ 2 callers
Function
BreadthFirst
Breadth-first search
leetcode/lcof/27_mirrorTree/27_mirrorTree.go:44
↓ 2 callers
Method
Build
()
design-pattern/creational/builder/builder2.go:14
↓ 2 callers
Method
Build
(url resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions)
awesome-go/consul/consul-resolver/consul-resolver.go:29
↓ 2 callers
Function
CBCDecrypt
(ciphertext []byte)
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:47
↓ 2 callers
Function
CBCEncrypt
https://zh.wikipedia.org/wiki/%E5%88%86%E7%BB%84%E5%AF%86%E7%A0%81%E5%B7%A5%E4%BD%9C%E6%A8%A1%E5%BC%8F CBC,Cipher-block chaining , like AESEncrypt htt
build-in-package/crypto/encrypter_decrypter_cipher/cipher.go:36
↓ 2 callers
Method
ChangeMerchant
()
Language_Specification/reference-type/method/methods_receiver.go:51
↓ 2 callers
Method
ChangeMerchantTwo
()
Language_Specification/reference-type/method/methods_receiver.go:64
↓ 2 callers
Method
ChangeName
method, value receiver, 无法修改成功,因为是value receiver
Language_Specification/reference-type/method/methods_receiver.go:48
↓ 2 callers
Method
ClientStreamingEcho
ClientStreamingEcho is client side streaming.
awesome-go/grpc-go/features/proto/echo/echo.pb.go:126
↓ 2 callers
Method
Close
Close closes the resolver.
awesome-go/consul/consul-resolver/consul-resolver.go:22
↓ 2 callers
Method
Close
()
awesome-go/grpc-go/features/load_balancing/client/main.go:121
↓ 2 callers
Method
Close
()
awesome-go/grpc-go/features/name_resolving/client/main.go:129
↓ 2 callers
Method
Contains
(values ...interface{})
algorithms/data-structures/lists/lists.go:12
↓ 2 callers
Method
Contains
(elements ...interface{})
algorithms/data-structures/sets/sets.go:12
↓ 2 callers
Function
CountNode
(node *Node)
leetcode/binary_search/230.Kth-Smallest-Element-in-a-BST/230_KthSmallest.go:35
↓ 2 callers
Function
CountPrimes
(n int)
leetcode/math/204_countPrimes/204_countPrimes.go:22
↓ 2 callers
Method
CreateCurvedShape
()
design-pattern/creational/abstract_factory/abstract_factory.go:42
↓ 2 callers
Method
CreateStraightShape
()
design-pattern/creational/abstract_factory/abstract_factory.go:43
↓ 2 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use
mock/user/mock/mock.go:31
↓ 2 callers
Method
Empty
()
algorithms/data-structures/containers/containers.go:5
↓ 2 callers
Method
Enqueue
(value interface{})
algorithms/data-structures/queue/queue.go:40
↓ 2 callers
Function
ExampleClient
(ctx context.Context)
awesome-go/go-redis/controller/controller.go:10
↓ 2 callers
Method
Execute
(targets map[string]pgs.File, packages map[string]pgs.Package)
awesome-go/protoc-gen-star/printer.go:21
↓ 2 callers
Function
FanIn
(inputs ...<-chan string)
LearnConcurrency/communicate_channel/multiplexing/multiplexing.go:5
↓ 2 callers
Function
FibHandler
(w http.ResponseWriter, r *http.Request)
diagnostics/profiling/pprof/handler/fib.go:40
↓ 2 callers
Method
FindByIdTwo
method, pointer receiver
Language_Specification/reference-type/method/methods_receiver.go:56
↓ 2 callers
Function
GenePrimes
(n int)
leetcode/math/204_countPrimes/204_countPrimes.go:35
↓ 2 callers
Method
GetAll
()
mock/golang/mock/demo/demo.go:12
↓ 2 callers
Function
GetGun
(gunType string)
design-pattern/creational/factory_method/factory_method.go:41
↓ 2 callers
Method
GetName
()
awesome-go/grpc-go-mock/helloworld/helloworld.pb.go:58
↓ 2 callers
Method
GetName
()
awesome-go/packr/templates/proto/helloworld/helloworld.pb.go:64
↓ 2 callers
Function
HasPathSum
recurse
leetcode/binary_search/112_Path_Sum/112_Path_Sum.go:36
↓ 2 callers
Function
HeapSort
(items []int)
algorithms/data-structures/heap/maxheap/maxheap.go:88
↓ 2 callers
Function
Index
(vs interface{}, t interface{})
Language_Specification/reference-type/slice/slice_collection_function.go:15
↓ 2 callers
Function
IndexRange
(arr []int, value int)
leetcode/array/index_range/index_range.go:3
↓ 2 callers
Function
InsertSquareUsbInComputer
(com computer)
design-pattern/structual/adapter/adapter.go:12
↓ 2 callers
Method
IsEmpty
()
algorithms/data-structures/stack/stack.go:29
↓ 2 callers
Method
Iterator
()
algorithms/data-structures/lists/arraylist/arraylist.go:26
↓ 2 callers
Function
KthSmallest
(matrix [][]int, k int)
leetcode/array/378_kthSmallest/378_kthSmallest.go:21
↓ 2 callers
Method
ListFeatures
A server-to-client streaming RPC. Obtains the Features available within the given Rectangle. Results are streamed rather than returned at once (e.g.
awesome-go/grpc-go/route_guide/routeguide/route_guide.pb.go:330
↓ 2 callers
Function
MapStructureJsonTagDecode
(input, output interface{})
awesome-go/mapstructure/mapstructure.go:7
↓ 2 callers
Method
Marshal
()
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:168
↓ 2 callers
Method
Marshal
()
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:171
↓ 2 callers
Method
Marshal
()
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:177
↓ 2 callers
Method
Marshal
()
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:246
↓ 2 callers
Function
Md5
(v []byte)
build-in-package/crypto/hashing/md5.go:21
↓ 2 callers
Function
Md5Hex
(v []byte)
utils/encrypt.go:12
↓ 2 callers
Function
Md5Hex1
(v []byte)
utils/encrypt.go:18
↓ 2 callers
Method
Name
Name satisfies the generator.Plugin interface.
awesome-go/protoc-gen-star/jsonify.go:38
↓ 2 callers
Method
Name
()
awesome-go/go-pinyin/go-pinyin.go:16
↓ 2 callers
Function
New
(t *testing.T)
mock/golang/mock/demo/demo.go:16
↓ 2 callers
Function
NewClient
()
awesome-go/go-redis/redisClient/redis.go:20
↓ 2 callers
Function
NewCommentMessage
(via MessageImplementer)
design-pattern/structual/bridge/bridge.go:47
↓ 2 callers
Function
NewJWTMe
(signingKey string, signingMethod jwt.SigningMethod, desKey string)
awesome-go/jwt-go/jwt.go:38
↓ 2 callers
Function
NewLocalCache
(size int)
awesome-go/freecache/localcache/localcache.go:22
↓ 2 callers
Function
NewPayment
(name, cardId string, money int, strategy PaymentStrategy)
design-pattern/behavioral/strategy/strategy.go:14
↓ 2 callers
Function
NewUrgencyMessage
(via MessageImplementer)
design-pattern/structual/bridge/bridge.go:58
↓ 2 callers
Function
PrintDetails
(g IGun)
design-pattern/creational/factory_method/factory_method.go:60
↓ 2 callers
Function
PrintFunction
(val interface{})
Language_Specification/reference-type/method/method_reflect.go:26
↓ 2 callers
Function
PrintHostStat
(result *api.QueryTableResult)
awesome-go/influxdb-client-go/basic_example/query_data.go:12
↓ 2 callers
Function
PrintMethodSet
(value interface{})
Language_Specification/reference-type/method/method_reflect.go:19
↓ 2 callers
Function
QuickSort
(arr []int)
leetcode/array/378_kthSmallest/378_kthSmallest.go:3
↓ 2 callers
Function
RandInt64
(min int, max int)
utils/str.go:17
↓ 2 callers
Method
RecordRoute
A client-to-server streaming RPC. Accepts a stream of Points on a route being traversed, returning a RouteSummary when traversal is completed.
awesome-go/grpc-go/route_guide/routeguide/route_guide.pb.go:335
↓ 2 callers
Method
RemoveLast
()
algorithms/data-structures/lists/singlylinkedlist/singlylinkedlist.go:91
↓ 2 callers
Method
Reverse
()
algorithms/data-structures/lists/singlylinkedlist/singlylinkedlist.go:109
↓ 2 callers
Function
ReverseString
(s []byte)
leetcode/string/344_reverseString/344_reverseString.go:7
↓ 2 callers
Method
SendMessage
(text, to string)
design-pattern/structual/bridge/bridge.go:15
↓ 2 callers
Method
ServerStreamingEcho
ServerStreamingEcho is server side streaming.
awesome-go/grpc-go/features/proto/echo/echo.pb.go:124
↓ 2 callers
Method
String
()
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:82
↓ 2 callers
Function
StringToInt64
(a string)
awesome-go/gorm/gorm_int8range.go:12
↓ 2 callers
Function
Unmarshal
(data []byte, v interface{})
design-pattern/go-design/error_handling/error_handling.go:48
↓ 2 callers
Function
ViaEmail
()
design-pattern/structual/bridge/bridge.go:35
↓ 2 callers
Function
ViaSMS
()
design-pattern/structual/bridge/bridge.go:25
↓ 2 callers
Method
abc
()
Language_Specification/reference-type/interfaces/interfaces_cheat_sheet.go:22
↓ 2 callers
Function
addSegment
(inrune, segment []rune)
utils/array.go:89
↓ 2 callers
Function
addSegment
(inrune, segment []rune)
build-in-package/strings/string_underscore.go:7
↓ 2 callers
Function
appendArrayQuotedBytes
(b, v []byte)
awesome-go/gorm/gorm_int8rangeArray.go:13
↓ 2 callers
Function
benchmarkConcat
(b *testing.B, n int)
diagnostics/profiling/pprof/handler/concat_test.go:16
↓ 2 callers
Method
checkAccount
(id int64)
design-pattern/structual/facade/facade.go:73
← previous
next →
201–300 of 2,090, ranked by callers