MCPcopy Create free account

hub / github.com/bigwhite/publication / functions

Functions3,647 in github.com/bigwhite/publication

↓ 6 callersMethodsendMsg
(text string)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/feishu/bot.go:85
↓ 5 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/context/session.go:35
↓ 5 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/context/session.go:30
↓ 5 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/context/session.go:30
↓ 5 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/context/session.go:35
↓ 5 callersMethodCreateShortLink
CreateShortLink 为给定的长URL创建一个短链接。 userID 和 originalURL 用于防止同一用户为同一原始URL重复创建。 expireAt 用于设置链接的过期时间,零值表示永不过期或使用默认过期。
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/service/shortener_service.go:62
↓ 5 callersMethodEndSpan
EndSpan 结束跨度,计算耗时
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/observability/trace.go:49
↓ 5 callersMethodEndSpan
EndSpan 结束跨度,计算耗时
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/observability/trace.go:49
↓ 5 callersFunctionExpr
(n int)
column/imooc/go-50tips/sources/evaluation_order_7.go:5
↓ 5 callersMethodFlush
()
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:105
↓ 5 callersMethodFree
()
column/timegeek/go-first-course/35/workerpool1/pool.go:104
↓ 5 callersMethodInsert
Insert 插入单词及热度 实际工程中,热度可能来自日志分析
micro-column/ai-era-software-engineer-algorithm-map/ch16/autocomplete_system/main.go:34
↓ 5 callersMethodMerge
Merge combines this counter's state with another's
micro-column/distributed-system-guide/ch13/main.go:45
↓ 5 callersFunctionNewElement
NewElement 创建元素节点
micro-column/ai-era-software-engineer-algorithm-map/ch08/dom_renderer/main.go:26
↓ 5 callersFunctionNewMyFrameCodec
()
column/timegeek/go-first-course/38/tcp-server-demo3/frame/frame.go:33
↓ 5 callersFunctionNewMyFrameCodec
()
column/timegeek/go-first-course/38/tcp-server-demo2-with-pprof/frame/frame.go:33
↓ 5 callersFunctionNewMyFrameCodec
()
column/timegeek/go-first-course/38/tcp-server-demo3-with-syncpool/frame/frame.go:33
↓ 5 callersFunctionNewMyFrameCodec
()
column/timegeek/go-first-course/38/tcp-server-demo2/frame/frame.go:33
↓ 5 callersFunctionNewMyFrameCodec
()
column/timegeek/go-first-course/37/tcp-server-demo1/frame/frame.go:33
↓ 5 callersMethodRemove
Remove 移除权限
micro-column/ai-era-software-engineer-algorithm-map/ch13/permission_system/main.go:49
↓ 5 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/engine/loop.go:39
↓ 5 callersMethodShutdown
Shutdown 优雅地关闭HTTP服务器
column/timegeek/go-advanced-course/ch21/demo2/shortlink/internal/api/http/server/server.go:56
↓ 5 callersFunctionrunConcurrencyTest
运行并发测试
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/workspace/demo.go:92
↓ 5 callersFunctionsendResponse
统一的响应封装助手
micro-column/agentic-api-in-action/ch01/agentic-api-demo/main.go:86
↓ 4 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/context/session.go:30
↓ 4 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/context/session.go:30
↓ 4 callersMethodCreateUser
(id, name string)
column/timegeek/go-advanced-course/ch25/testhierarchy/user_service.go:18
↓ 4 callersMethodDecode
()
micro-column/data-compression-fundamentals/ch01/rle-demo/protocol/decoder.go:18
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
column/imooc/go-50tips/sources/mocktest/mailer/mock_mailer.go:31
↓ 4 callersMethodFmap
(fn func(int) int)
column/imooc/go-50tips/sources/function_as_first_class_citizen_5.go:9
↓ 4 callersMethodHandleWriteRequest
HandleWriteRequest 模拟节点处理来自Leader的写入请求
micro-column/distributed-system-guide/ch03/epoch.go:15
↓ 4 callersMethodLen
()
micro-column/ai-era-software-engineer-algorithm-map/ch06/median_finder/main.go:11
↓ 4 callersFunctionLoad
包级私有变量 Load loads configuration from the given file path.
column/timegeek/go-advanced-course/ch23/config/stage2/config/config.go:31
↓ 4 callersMethodM1
()
column/timegeek/go-first-course/go-details/unexported-identifiers/generics/main.go:9
↓ 4 callersFunctionNew
(capacity int, opts ...Option)
column/timegeek/go-first-course/35/workerpool2/pool.go:36
↓ 4 callersFunctionNewUserService
()
column/timegeek/go-advanced-course/ch25/testhierarchy/user_service.go:14
↓ 4 callersFunctionParseInput
ParseInput is a function we want to test with subtests.
column/timegeek/go-advanced-course/ch25/subtests/parser_test.go:9
↓ 4 callersMethodQuery
(ctx context.Context, query string)
column/timegeek/go-advanced-course/ch22/app-skeleton-demo/internal/biz/user/service.go:13
↓ 4 callersMethodRead
(key string)
micro-column/distributed-system-guide/ch04/main.go:33
↓ 4 callersMethodRead
(p []byte)
column/timegeek/go-first-course/38/tcp-server-demo3/frame/frame_test.go:79
↓ 4 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/tools/registry.go:19
↓ 4 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch08/go-tiny-claw/internal/tools/registry.go:19
↓ 4 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch09/go-tiny-claw/internal/tools/registry.go:19
↓ 4 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/tools/registry.go:19
↓ 4 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch10/go-tiny-claw/internal/tools/registry.go:19
↓ 4 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/tools/registry.go:23
↓ 4 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/tools/registry.go:19
↓ 4 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch21/go-tiny-claw/internal/engine/loop.go:39
↓ 4 callersMethodRun
(ctx context.Context, session *ctxpkg.Session, reporter Reporter)
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/engine/loop.go:39
↓ 4 callersMethodRun
接收 Session 参数,动态加载工作区环境
column/timegeek/build-agent-harness-from-scratch/ch11/go-tiny-claw/internal/engine/loop.go:30
↓ 4 callersMethodSave
Save 保存短链接映射关系。如果shortCode已存在,应返回ErrConflict。
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/store/store.go:30
↓ 4 callersMethodSearch
Search 根据前缀返回推荐列表
micro-column/ai-era-software-engineer-algorithm-map/ch16/autocomplete_system/main.go:79
↓ 4 callersFunctionconcatStringByJoin
(sl []string)
column/imooc/go-50tips/sources/benchmark_with_expensive_context_setup_test.go:15
↓ 4 callersFunctionenroll
(args ...interface{} /* name, gender, age, city = "Beijing", country = "China" */)
column/imooc/go-50tips/sources/variadic_function_6.go:13
↓ 4 callersMethodhash
hash a string to an angle (0-359)
micro-column/distributed-system-guide/ch06/main.go:28
↓ 4 callersFunctionmedianOfThreeOrdered
(data []int, m1, m0, m2 int)
column/timegeek/go-first-course/go-generics/benchmark/non_generic_sort.go:38
↓ 4 callersFunctionpreview
(s string, maxLen int)
column/timegeek/go-advanced-course/ch21/demo2/shortlink/internal/shortener/service.go:141
↓ 4 callersMethodprint
()
column/imooc/go-50tips/sources/method_nature_4.go:12
↓ 4 callersFunctionshutdownMaker
(processTm int)
column/imooc/go-50tips/sources/go-concurrency-pattern-7_test.go:8
↓ 3 callersFunctionAdd
(a, b int)
column/timegeek/go-first-course/go-testing/add/add.go:3
↓ 3 callersFunctionAdd
(a, b int)
column/timegeek/go-advanced-course/ch25/basics/calc.go:3
↓ 3 callersMethodAdd
(tx SagaSubTransaction)
micro-column/distributed-system-guide/ch08/saga.go:54
↓ 3 callersMethodAddNode
AddNode 添加一个真实节点
micro-column/ai-era-software-engineer-algorithm-map/ch05/consistent_hashing/main.go:28
↓ 3 callersMethodAddNum
(num int)
micro-column/ai-era-software-engineer-algorithm-map/ch06/median_finder/main.go:50
↓ 3 callersMethodAddTask
AddTask 添加任务
micro-column/ai-era-software-engineer-algorithm-map/ch06/delay_scheduler/main.go:68
↓ 3 callersMethodAllow
Allow 检查是否允许通过 key: 限流的标识(如 IP、UserID) limit: 限流规则
micro-column/api-design-and-implementation/ch08/rod-demo/pkg/limiter/redis_limiter.go:31
↓ 3 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/context/session.go:30
↓ 3 callersMethodAppend
(msgs ...schema.Message)
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/context/session.go:30
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch12/go-tiny-claw/internal/context/composer.go:23
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch13/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch19/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch17/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch15/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch10/go-tiny-claw/internal/context/composer.go:23
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch22/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch16/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch20/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch11/go-tiny-claw/internal/context/composer.go:23
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch14/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodBuild
()
column/timegeek/build-agent-harness-from-scratch/ch18/go-tiny-claw/internal/context/composer.go:25
↓ 3 callersMethodDebugf
Debugf logs a debug message if the level is appropriate.
column/timegeek/go-advanced-course/ch22/app-skeleton-demo/internal/foundational/logger/logger.go:30
↓ 3 callersMethodDecode
data -> frame,并写入io.Writer
column/timegeek/go-first-course/37/tcp-server-demo1/frame/frame.go:25
↓ 3 callersFunctionDefaultConverterOptions
DefaultConverterOptions 返回默认转换器选项
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/converter/types.go:48
↓ 3 callersFunctionDefaultOptions
DefaultOptions 返回默认解析器选项
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/parser/types.go:28
↓ 3 callersMethodEncode
(io.Writer, FramePayload)
column/timegeek/go-first-course/37/tcp-server-demo1/frame/frame.go:24
↓ 3 callersMethodError
()
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/config/types.go:118
↓ 3 callersMethodFree
()
column/timegeek/go-first-course/35/workerpool2/pool.go:150
↓ 3 callersMethodGetNode
GetNode returns the physical node for a given key
micro-column/distributed-system-guide/ch06/main.go:66
↓ 3 callersMethodIncrement
Increment the counter on the local node
micro-column/distributed-system-guide/ch13/main.go:27
↓ 3 callersFunctionIsPositive
IsPositive 函数检查给定的整数是否为正数
column/timegeek/go-first-course/go-testing/coverage/demo.go:15
↓ 3 callersFunctionNewClientWithHTTPClient
NewClientWithHTTPClient 使用自定义HTTP客户端创建GitHub客户端
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/github/types.go:31
↓ 3 callersFunctionNewText
NewText 创建文本节点
micro-column/ai-era-software-engineer-algorithm-map/ch08/dom_renderer/main.go:36
↓ 3 callersFunctionNewURLParser
NewURLParser 创建新的URL解析器
column/timegeek/ai-native-dev-workflow/my-issue2md-project/internal/parser/parser.go:34
↓ 3 callersMethodPop
()
micro-column/data-compression-fundamentals/ch02/huffman-demo/tree/queue.go:26
↓ 3 callersMethodPush
(x interface{})
micro-column/ai-era-software-engineer-algorithm-map/ch06/median_finder/main.go:14
↓ 3 callersMethodRegister
(tool BaseTool)
column/timegeek/build-agent-harness-from-scratch/ch06/go-tiny-claw/internal/tools/registry.go:19
↓ 3 callersMethodRun
Run 启动应用并阻塞,直到接收到退出信号并完成优雅关闭
column/timegeek/go-advanced-course/ch32/shortlink-service/internal/app/app.go:155
↓ 3 callersMethodSave
(ctx context.Context, link *domain.Link)
micro-column/go-testing-journey/go-testing-shortlink/pkg/repository/postgres/link_repository.go:39
↓ 3 callersMethodSend
(subject, from string, to []string, content string, mailserver string, a smtp.Auth)
column/imooc/go-50tips/sources/send_mail_with_disclaimer/v2/mail.go:16
↓ 3 callersFunctionSmartRead
(user, key string)
micro-column/distributed-system-guide/ch03/read-your-writes.go:51
← previousnext →101–200 of 3,647, ranked by callers