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
↓ 1 callers
Function
Random
()
Language_Specification/cgo/cgo.go:9
↓ 1 callers
Function
Rarray
()
Language_Specification/reflection/reflection_Typeof/reflection_TypeOf.go:30
↓ 1 callers
Function
Rarray
()
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:72
↓ 1 callers
Method
Read
(p []byte)
effective-go/Embedding/embedding.go:22
↓ 1 callers
Function
ReadMsg
(ws *websocket.Conn)
build-in-package/websocket/echo/client_binary/client.go:52
↓ 1 callers
Function
RegisterGreeterHandler
RegisterGreeterHandler registers the http handlers for service Greeter to "mux". The handlers forward requests to the grpc endpoint over "conn".
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.gw.go:129
↓ 1 callers
Function
RegisterGreeterHandlerClient
RegisterGreeterHandlerClient registers the http handlers for service Greeter to "mux". The handlers forward requests to the grpc endpoint over the giv
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.gw.go:138
↓ 1 callers
Method
Remove
(elements ...interface{})
algorithms/data-structures/sets/sets.go:11
↓ 1 callers
Method
Reset
()
awesome-go/packr/templates/proto/helloworld/helloworld.pb.go:80
↓ 1 callers
Function
RetryWithParams
(fn func() error, attempts uint)
design-pattern/structual/decorator/decorator.go:24
↓ 1 callers
Function
ReverseByCharacter
(s string)
algorithms/strings/string_reverse.go:15
↓ 1 callers
Function
ReverseByWord
(s string)
algorithms/strings/string_reverse.go:8
↓ 1 callers
Function
Rfun
()
Language_Specification/reflection/reflection_Typeof/reflection_TypeOf.go:60
↓ 1 callers
Function
Rfun
()
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:99
↓ 1 callers
Function
RightSideView
(root *Node)
leetcode/binary_search/199_Binary_Tree_Right_Side_View/199_Binary_Tree_Right_Side_View.go:34
↓ 1 callers
Function
Rint
()
Language_Specification/reflection/reflection_Typeof/reflection_TypeOf.go:20
↓ 1 callers
Function
Rint
()
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:59
↓ 1 callers
Function
Rmap
()
Language_Specification/reflection/reflection_Typeof/reflection_TypeOf.go:36
↓ 1 callers
Function
Rmap
()
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:78
↓ 1 callers
Method
Role
(role string)
design-pattern/creational/builder/builder2.go:23
↓ 1 callers
Function
Rstring
()
Language_Specification/reflection/reflection_Typeof/reflection_TypeOf.go:25
↓ 1 callers
Function
Rstring
()
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:65
↓ 1 callers
Function
Rstruct
()
Language_Specification/reflection/reflection_Typeof/reflection_TypeOf.go:43
↓ 1 callers
Function
Rstruct
()
Language_Specification/reflection/reflection_ValueOf/reflection_ValueOf.go:84
↓ 1 callers
Function
RunMyProgram
()
build-in-package/runtime/trace.go:41
↓ 1 callers
Function
SaveToFile
(fileName string, data SRP.Encoder)
object_oriented/solid/SRP/saver/saver.go:10
↓ 1 callers
Function
SayHello
(ctx context.Context, req *pb.HelloRequest)
kubernetes/greeter_gateway/main.go:31
↓ 1 callers
Method
SayHello
(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption)
kubernetes/proto/greeting_grpc.pb.go:22
↓ 1 callers
Method
SayHello
Sends a greeting
awesome-go/grpc-go-mock/helloworld/helloworld.pb.go:122
↓ 1 callers
Method
SayHello
SayHello implements helloworld.GreeterServer
awesome-go/packr/templates/grpc_server/service/service.go:20
↓ 1 callers
Method
Scan
(src interface{})
awesome-go/gorm/gorm_int8range.go:19
↓ 1 callers
Function
Seed
(i int)
Language_Specification/cgo/cgo.go:13
↓ 1 callers
Method
SendAndClose
(*RouteSummary)
awesome-go/grpc-go/route_guide/routeguide/route_guide.pb.go:533
↓ 1 callers
Method
SendAndClose
(*EchoResponse)
awesome-go/grpc-go/features/proto/echo/echo.pb.go:305
↓ 1 callers
Function
ServiceRegister
(client *api.Client)
awesome-go/consul/main.go:32
↓ 1 callers
Method
SetClaims
(claims jwt.Claims)
awesome-go/jwt-go/jwt.go:46
↓ 1 callers
Method
SetWithExpire
(key string, val []byte, expireSeconds int)
awesome-go/freecache/localcache/localcache.go:40
↓ 1 callers
Function
Sha1
(input []byte)
utils/encrypt.go:30
↓ 1 callers
Function
Sha256
(input []byte)
utils/encrypt.go:36
↓ 1 callers
Function
Sha512
(input []byte)
utils/encrypt.go:42
↓ 1 callers
Function
Slice2IdsString
(ids []int64)
Language_Specification/build-in-type/str/str.go:35
↓ 1 callers
Function
SnakeCaseToCamelCase
(inputUnderScoreStr string)
build-in-package/strings/UnderscoreToCamelCase.go:7
↓ 1 callers
Method
String
()
cmd/generate/painkiller/pill_string.go:21
↓ 1 callers
Function
StringEscape
()
build-in-package/strings/string_escape.go:15
↓ 1 callers
Function
StringTrim
()
build-in-package/strings/strings_utils.go:8
↓ 1 callers
Function
StringsReader
* */
build-in-package/strings/strings_reader.go:20
↓ 1 callers
Function
StructToMap
(in interface{})
utils/struct.go:9
↓ 1 callers
Function
Swap
(dest **T, old, new *T)
build-in-package/unsafe/unsafe_test.go:14
↓ 1 callers
Function
TextTemplate
()
build-in-package/text/template/template.go:8
↓ 1 callers
Function
TickerTimeout
(timeout time.Duration)
build-in-package/time/tickers.go:8
↓ 1 callers
Function
TimeAfterTimeout
(timeout time.Duration)
build-in-package/time/tickers.go:16
↓ 1 callers
Function
TimeDuration
()
build-in-package/time/duration.go:8
↓ 1 callers
Function
TimeoutByRetry
(ttl time.Duration, deadline time.Time, maxRetry int64, fn func(ttl time.Duration) bool)
build-in-package/time/timers.go:37
↓ 1 callers
Function
ToInt
(v interface{})
utils/str.go:62
↓ 1 callers
Function
ToMap
ToMap converts a struct to a map using the struct's tags. ToMap uses tags on struct fields to decide which fields to add to the returned map.
Language_Specification/reference-type/struct/struct_to_map.go:12
↓ 1 callers
Function
ToPem
pem , base64 ASCII, 用于x509 certificates pem, 常用后缀.crt, .pem, .cer, and .Key
build-in-package/encoding/pem.go:13
↓ 1 callers
Function
TrimSuffix
(s, suffix string)
build-in-package/strings/string_escape.go:8
↓ 1 callers
Function
UniqueStringArray
(stringSlice *pq.StringArray)
Language_Specification/reference-type/slice/slices_unique.go:33
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:241
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofaster/helloworld/helloworld.pb.go:326
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:244
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-grpc-gateway/helloworld/helloworld.pb.go:329
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:260
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogofast/helloworld/helloworld.pb.go:346
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gofast/helloworld/helloworld.pb.go:260
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:347
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
awesome-go/gogoprobuf/proto/protoc-gen-gogoslick/helloworld/helloworld.pb.go:429
↓ 1 callers
Function
WSHandle
(hub *Hub, w http.ResponseWriter, r *http.Request)
awesome-go/gorilla-websocket/chat/service/user.go:93
↓ 1 callers
Function
WaitGroup
()
LearnConcurrency/communicate_channel/waitgroup/waitgroup.go:20
↓ 1 callers
Function
WebCall1
--------------- default Error ---------------
design-pattern/go-design/error_handling/error_handling.go:22
↓ 1 callers
Function
WebCall2
()
design-pattern/go-design/error_handling/error_handling.go:15
↓ 1 callers
Method
WithUser
(user string)
design-pattern/creational/prototype/prototype.go:18
↓ 1 callers
Method
WithWorkDir
(dir string)
design-pattern/creational/prototype/prototype.go:14
↓ 1 callers
Method
Write
(p []byte)
effective-go/Embedding/embedding.go:25
↓ 1 callers
Function
WriteHostStatsWithNewPointWithMeasurement
(ctx context.Context, ctime time.Time)
awesome-go/influxdb-client-go/basic_example/wirte_data.go:47
↓ 1 callers
Function
WriteHostStatsWithWritePoint
(ctx context.Context, ctime time.Time)
awesome-go/influxdb-client-go/basic_example/wirte_data.go:36
↓ 1 callers
Function
WriteMsg
(ws *websocket.Conn, done chan struct{})
build-in-package/websocket/echo/client_binary/client.go:35
↓ 1 callers
Method
abc
()
Language_Specification/reference-type/interfaces/interfaces_cheat_sheet.go:42
↓ 1 callers
Function
add
(e int)
Language_Specification/errors/errors.go:67
↓ 1 callers
Method
addMoneyToWallet
(accountID int64, password int, amount int)
design-pattern/structual/facade/facade.go:27
↓ 1 callers
Method
addRandomUserInfo
()
build-in-package/sync/sync_struct.go:84
↓ 1 callers
Method
area
Declaring Rect struct method
Language_Specification/reference-type/interfaces/interfaces_cheat_sheet.go:39
↓ 1 callers
Function
bidirectionalWithMetadata
(c pb.EchoClient, message string)
awesome-go/grpc-go/features/metadata/client/main.go:210
↓ 1 callers
Function
bubbleSort1
* Bubble sort, 也叫sinking sort下沉算法 性能: Worst case performance O(n^2),n * n, n个for循环 Best case performance O(n) , n, 一个for循环 Average case performance
algorithms/sorting-algorithms/bubble-sort/bubble-sort.go:18
↓ 1 callers
Function
bubbleSort2
优化版本一, j循环减少i次循环
algorithms/sorting-algorithms/bubble-sort/bubble-sort.go:32
↓ 1 callers
Function
bubbleSort3
优化版本二, j循环减少i次循环, i 也减少n次循环
algorithms/sorting-algorithms/bubble-sort/bubble-sort.go:46
↓ 1 callers
Function
calcDistance
calcDistance calculates the distance between two points using the "haversine" formula. The formula is based on http://mathforum.org/library/drmath/vie
awesome-go/grpc-go/route_guide/server/server.go:177
↓ 1 callers
Function
callBidiStreamingEcho
(client ecpb.EchoClient)
awesome-go/grpc-go/features/interceptor/client/main.go:120
↓ 1 callers
Function
callSayHello
callSayHello calls SayHello on c with the given name, and prints the response.
awesome-go/grpc-go/features/multiplex/client/main.go:38
↓ 1 callers
Function
callUnaryEcho
(client ecpb.EchoClient, message string)
awesome-go/grpc-go/features/multiplex/client/main.go:48
↓ 1 callers
Function
callUnaryEcho
(client ecpb.EchoClient, message string)
awesome-go/grpc-go/features/interceptor/client/main.go:110
↓ 1 callers
Function
callUnaryEcho
(client ecpb.EchoClient, message string)
awesome-go/grpc-go/features/authentication/client/main.go:39
↓ 1 callers
Function
callUnaryEcho
(c ecpb.EchoClient, message string)
awesome-go/grpc-go/features/load_balancing/client/main.go:40
↓ 1 callers
Function
callUnaryEcho
(client ecpb.EchoClient, message string)
awesome-go/grpc-go/features/encryption/TLS/client/main.go:37
↓ 1 callers
Function
callUnaryEcho
(client ecpb.EchoClient, message string)
awesome-go/grpc-go/features/encryption/ALTS/client/main.go:36
↓ 1 callers
Function
callUnaryEcho
(c ecpb.EchoClient, message string)
awesome-go/grpc-go/features/name_resolving/client/main.go:40
↓ 1 callers
Function
clientStreamWithMetadata
(c pb.EchoClient, message string)
awesome-go/grpc-go/features/metadata/client/main.go:147
↓ 1 callers
Function
closures
()
Language_Specification/closures/closures.go:5
↓ 1 callers
Function
concat
(str string, count int)
diagnostics/profiling/pprof/handler/concat.go:17
↓ 1 callers
Method
connection
(url string)
awesome-go/rabbitmq/rabbitmq.go:23
← previous
next →
501–600 of 2,090, ranked by callers