Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6boris/Golang-Learn
/ functions
Functions
1,648 in github.com/6boris/Golang-Learn
⨍
Functions
1,648
◇
Types & classes
352
↓ 3 callers
Function
assertResponseBody
(t *testing.T, got, want string)
Basic-Grammar/json/v4/server_test.go:165
↓ 3 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/command-line/v1/FileSystemStore_test.go:112
↓ 3 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v7/FileSystemStore_test.go:95
↓ 3 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v9/FileSystemStore_test.go:112
↓ 3 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v6/FileSystemStore_test.go:96
↓ 3 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v5/FileSystemStore_test.go:96
↓ 3 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v8/FileSystemStore_test.go:112
↓ 3 callers
Function
assertScoreEquals
(t *testing.T, got, want int)
Basic-Grammar/io/v4/FileSystemStore_test.go:96
↓ 3 callers
Function
assertStatus
(t *testing.T, got, want int)
Basic-Grammar/http-server/v2/server_test.go:58
↓ 3 callers
Function
benchmarkMap
(b *testing.B, hm Map)
GreekTime/go_learning/code/ch48/maps/map_benchmark_test.go:20
↓ 3 callers
Function
containsDuplicate
判断数组是否含有重复元素
Leetcode/0217-Contains-Duplicate/Solution.go:4
↓ 3 callers
Function
containsNearbyDuplicate
判断最大差值
Leetcode/0219-Contains-Duplicate-II/Solution.go:4
↓ 3 callers
Function
countSubstrings
(s string)
Leetcode/0647-Palindromic-Substrings/Solution.go:5
↓ 3 callers
Function
createTempFile
(t *testing.T, initialData string)
Basic-Grammar/io/v3/FileSystemStore_test.go:10
↓ 3 callers
Function
dataReceiver
(ch chan int, wg *sync.WaitGroup)
GreekTime/go_learning/code/ch20/channel_close/channel_close_test.go:21
↓ 3 callers
Function
f
()
Complicat/v10/10.happens-before.go:6
↓ 3 callers
Function
initProducer
(addr string, topic string)
Framework/Nsq/v7/p/producer.go:39
↓ 3 callers
Function
isIsomorphic
(s string, t string)
Leetcode/0205-Isomorphic-Strings/Solution.go:3
↓ 3 callers
Function
isPalindrome
(x int)
Leetcode/0009-Palindrome-Number/Solution.go:3
↓ 3 callers
Function
newGetScoreRequest
(name string)
Basic-Grammar/http-server/v2/server_test.go:65
↓ 3 callers
Function
newGetScoreRequest
(name string)
Basic-Grammar/http-server/v3/server_test.go:81
↓ 3 callers
Function
newGetScoreRequest
(name string)
Basic-Grammar/http-server/v4/server_test.go:98
↓ 3 callers
Function
preMP
(x string)
Algorithm/KMP/v2/kmp.go:68
↓ 3 callers
Function
reverse
(x int)
Leetcode/0007-Reverse-Integer/Solution.go:3
↓ 3 callers
Function
twoSum
HasMap解法
Leetcode/0001-Two-Sum/Solution.go:4
↓ 2 callers
Method
Accept
(vi Visitor)
Design-Patterns-Golang/Behavior/Visitor/Visitor.go:26
↓ 2 callers
Function
Accumulator
()
Basic-Grammar/Defer/defer5.go:19
↓ 2 callers
Function
Add
(x, y int)
Basic-Grammar/Integers/Add.go:3
↓ 2 callers
Method
Area
()
Structs-Methods-Interfaces/Test5/shapes.go:7
↓ 2 callers
Function
BubbleSort
*********************************************************************************************************** 排序算法 1.冒泡排序(Bubble Sort) BubbleSort()
Algorithm/Sort/Sort.go:22
↓ 2 callers
Method
Charge
()
Design-Patterns-Golang/Struct/Adapter/Adapter.go:23
↓ 2 callers
Method
Del
(key interface{})
GreekTime/go_learning/code/ch48/maps/map_benchmark_test.go:17
↓ 2 callers
Function
DoSomething
(p interface{})
GreekTime/go_learning/code/ch13/empty_interface/empty_interface_test.go:8
↓ 2 callers
Function
Fib
(n int)
Basic-Grammar/Test/Fib.go:3
↓ 2 callers
Method
Find
Find tries to return a player from a league
Basic-Grammar/command-line/v1/league.go:13
↓ 2 callers
Method
Find
Find tries to return a player from a league
Basic-Grammar/io/v9/league.go:13
↓ 2 callers
Method
Find
Find tries to return a player from a league
Basic-Grammar/io/v6/league.go:13
↓ 2 callers
Method
Find
Find tries to return a player from a league
Basic-Grammar/io/v5/league.go:13
↓ 2 callers
Method
Find
Find tries to return a player from a league
Basic-Grammar/io/v8/league.go:13
↓ 2 callers
Method
Find
Find tries to return a player from a league
Basic-Grammar/io/v3/league.go:13
↓ 2 callers
Method
Find
Find tries to return a player from a league
Basic-Grammar/io/v4/league.go:13
↓ 2 callers
Function
GetInstanceSingletonDoubleLock
()
Design-Patterns-Golang/Create/Singleton/Singleton.go:53
↓ 2 callers
Function
GetInstanceSingletonEager
获取饿汉模式对象
Design-Patterns-Golang/Create/Singleton/Singleton.go:26
↓ 2 callers
Function
GetInstanceSingletonLazy
获取懒汉模式对象
Design-Patterns-Golang/Create/Singleton/Singleton.go:12
↓ 2 callers
Function
GetInstanceSingletonLazyLock
()
Design-Patterns-Golang/Create/Singleton/Singleton.go:37
↓ 2 callers
Function
GetInstanceSingletonOnce
()
Design-Patterns-Golang/Create/Singleton/Singleton.go:69
↓ 2 callers
Method
GetLeague
GetLeague returns the scores of all the players
Basic-Grammar/command-line/v1/FileSystemStore.go:55
↓ 2 callers
Method
GetLeague
GetLeague returns the scores of all the players
Basic-Grammar/io/v7/FileSystemStore.go:26
↓ 2 callers
Method
GetLeague
GetLeague returns the scores of all the players
Basic-Grammar/io/v9/FileSystemStore.go:55
↓ 2 callers
Method
GetLeague
GetLeague returns the scores of all the players
Basic-Grammar/io/v6/FileSystemStore.go:26
↓ 2 callers
Method
GetLeague
GetLeague returns the scores of all the players
Basic-Grammar/io/v8/FileSystemStore.go:54
↓ 2 callers
Method
GetLeague
GetLeague returns the scores of all the players
Basic-Grammar/io/v1/FileSystemStore.go:13
↓ 2 callers
Method
GetMin
()
Leetcode/0155-Min-Stack/Solution.go:81
↓ 2 callers
Method
GetPlayerScore
GetPlayerScore retrieves a player's score
Basic-Grammar/io/v3/FileSystemStore.go:21
↓ 2 callers
Function
HasPrefix
(s, prefix string)
Basic-Grammar/char/Prefix/HasPrefix.go:3
↓ 2 callers
Function
Hello
(language string, name string)
Basic-Grammar/fmt/Println/Test2/Hello.go:7
↓ 2 callers
Function
Hello
(name string)
Basic-Grammar/fmt/Println/Test1/Hello.go:3
↓ 2 callers
Function
Hello
()
Basic-Grammar/fmt/Println/Test/main.go:5
↓ 2 callers
Function
InitProducer
初始化生产者
Framework/Nsq/v2/send.go:45
↓ 2 callers
Method
IsEmpty
()
Leetcode/0020-Valid-Parentheses/Solution.go:16
↓ 2 callers
Method
IsEmpty
Judge the stack is empty
Leetcode/0739-Daily-Temperatures/Solution.go:19
↓ 2 callers
Method
Len
()
Algorithm/Queue/main.go:14
↓ 2 callers
Method
Len
()
Basic-Grammar/Stack/v2/Stack.go:26
↓ 2 callers
Function
MakeList
创建链表
Leetcode/0021-Merge-Two-Sorted-Lists/Solution.go:36
↓ 2 callers
Method
MarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
GreekTime/go_learning/code/ch43/easyjson/struct_def_easyjson.go:108
↓ 2 callers
Method
MarshalJSON
MarshalJSON supports json.Marshaler interface
GreekTime/go_learning/code/ch43/easyjson/struct_def_easyjson.go:184
↓ 2 callers
Function
Max
(a, b int)
Leetcode/0594-Longest-Harmonious-Subsequence/Solution.go:3
↓ 2 callers
Method
MaxHeapify
(i int)
Algorithm/Sort/Classify/HeapSort/HeapSort.go:17
↓ 2 callers
Function
NewCollect
(name string, content string)
GreekTime/go_learning/code/ch41/microkernel/agent_test.go:19
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/http-server/v5/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/io/v2/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/io/v3/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/io/v1/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/io/v4/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/json/v2/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/json/v6/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/json/v5/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/json/v3/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/json/v1/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewInMemoryPlayerStore
NewInMemoryPlayerStore initialises an empty player store
Basic-Grammar/json/v4/InMemoryPlayerStore.go:4
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/command-line/v1/league.go:23
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v7/league.go:23
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v2/league.go:10
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v9/league.go:23
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v6/league.go:23
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v5/league.go:23
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v8/league.go:23
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v3/league.go:23
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v1/league.go:9
↓ 2 callers
Function
NewLeague
NewLeague creates a league from JSON
Basic-Grammar/io/v4/league.go:23
↓ 2 callers
Method
Pop
元素出栈,如果栈为空则元素为空error不为空
Leetcode/0155-Min-Stack/Solution.go:40
↓ 2 callers
Method
Pop
弹出队列首部的元素
Algorithm/Queue/main.go:33
↓ 2 callers
Method
Pop
()
Basic-Grammar/Heap/v1/ListNodeQueue.go:20
↓ 2 callers
Method
Pop
()
Basic-Grammar/Stack/v2/Stack.go:16
↓ 2 callers
Function
PrintList
(head *ListNode)
Leetcode/0019-Remove-Nth-Node-From-End-of-List/Solution.go:25
↓ 2 callers
Function
PrintList
(head *ListNode)
Leetcode/0024-Swap-Nodes-in-Pairs/Solution.go:25
↓ 2 callers
Function
PrintList
(head *ListNode)
Leetcode/0206-Reverse-Linked-List/Solution.go:25
↓ 2 callers
Method
PrintList
()
Basic-Grammar/Stack/List_Stack.go:12
↓ 2 callers
Method
Process
(data Request)
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/split_filter.go:18
↓ 2 callers
Method
Process
(data Request)
GreekTime/go_learning/code/ch40/pipe_filter/pipe_filter/sum_filter.go:14
← previous
next →
201–300 of 1,648, ranked by callers