MCPcopy Create free account

hub / github.com/BaiZe1998/go-learning / functions

Functions787 in github.com/BaiZe1998/go-learning

↓ 1 callersMethodGetData
(query string, args ...interface{})
di/no_di/main.go:28
↓ 1 callersMethodGetData
(query string, args ...interface{})
di/simple_di/main.go:24
↓ 1 callersFunctionGetLang
(_ context.Context)
kit/i18n/message.go:62
↓ 1 callersMethodIncrement
递增计数器
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:677
↓ 1 callersFunctionInitRedisIndex
(ctx context.Context, config *Config)
eino_assistant/pkg/redis/redis.go:56
↓ 1 callersMethodInsertMany
(context.Context, []interface{})
storage/mongodb/mongodb.go:35
↓ 1 callersMethodList
()
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/data/model/blog.go:21
↓ 1 callersMethodListBlogs
(context.Context, *ListBlogsRequest)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:32
↓ 1 callersMethodLocalizedID
()
kit/i18n/message.go:40
↓ 1 callersFunctionNew
New creates a new MongoDB storage
storage/mongodb/mongodb.go:169
↓ 1 callersFunctionNewApp
(client *MySQLClient)
di/wire_di/main.go:15
↓ 1 callersFunctionNewApp
()
di/no_di/main.go:21
↓ 1 callersFunctionNewApp
(client *MySQLClient)
di/simple_di/main.go:15
↓ 1 callersFunctionNewArkGenerator
NewArkGenerator 创建ARK生成器
eino_assistant/eino/rag/generator.go:28
↓ 1 callersFunctionNewMySQLClient
(url string)
di/wire_di/main.go:3
↓ 1 callersFunctionNewMySQLClient
(url string)
di/no_di/main.go:9
↓ 1 callersFunctionNewMySQLClient
(url string)
di/simple_di/main.go:3
↓ 1 callersFunctionNewNoRetriever
NewNoRetriever 创建一个不使用检索的实现
eino_assistant/eino/rag/retriever.go:92
↓ 1 callersFunctionNewRAG
NewRAG 创建一个新的RAG系统
eino_assistant/eino/rag/orchestration.go:22
↓ 1 callersFunctionNewRedisRetriever
NewRedisRetriever 创建Redis检索器
eino_assistant/eino/rag/retriever.go:30
↓ 1 callersFunctionNewS2
()
generics/main.go:28
↓ 1 callersFunctionNewUserNotFoundErr
(userID int)
kit/i18n/message.go:48
↓ 1 callersMethodRetrieve
(ctx context.Context, query string, topK int)
eino_assistant/eino/rag/retriever.go:18
↓ 1 callersFunctionRunAllExamples
RunAllExamples 运行所有语法示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:10
↓ 1 callersFunctionRunChannelExamples
RunChannelExamples 运行通道示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:52
↓ 1 callersFunctionRunErrorHandlingExamples
RunErrorHandlingExamples 运行错误处理示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:64
↓ 1 callersFunctionRunIterationExamples
RunIterationExamples 运行遍历方法示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:58
↓ 1 callersFunctionRunMapExamples
RunMapExamples 运行映射示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:46
↓ 1 callersFunctionRunSliceExamples
RunSliceExamples 运行切片示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:40
↓ 1 callersFunctionRunStructExamples
RunStructExamples 运行结构体和方法示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:70
↓ 1 callersMethodSave
(context.Context, *Greeter)
kit/transaction/helloworld/internal/biz/greeter.go:29
↓ 1 callersMethodSayHello
(context.Context, *HelloRequest)
kit/transaction/helloworld/api/helloworld/v1/greeter_http.pb.go:21
↓ 1 callersFunctionSequentialMergesortV1
(s []int)
concurrence/main.go:48
↓ 1 callersMethodSetAge
指针接收者方法
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:609
↓ 1 callersMethodStartSession
()
storage/mongodb/mongodb.go:23
↓ 1 callersMethodString
()
kit/transaction/helloworld/internal/conf/conf.pb.go:152
↓ 1 callersMethodTemplateData
()
kit/i18n/message.go:41
↓ 1 callersMethodUpdateBlog
(context.Context, *UpdateBlogRequest)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:33
↓ 1 callersMethodUpdateMany
(context.Context, interface{}, interface{}, ...*options.UpdateOptions)
storage/mongodb/mongodb.go:41
↓ 1 callersMethodUseSession
(ctx context.Context, fn func(mongo.SessionContext) error)
storage/mongodb/mongodb.go:24
↓ 1 callersFunction_Blog_CreateBlog0_HTTP_Handler
(srv BlogHTTPServer)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:86
↓ 1 callersFunction_Blog_DeleteBlog0_HTTP_Handler
(srv BlogHTTPServer)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:133
↓ 1 callersFunction_Blog_GetBlog0_HTTP_Handler
(srv BlogHTTPServer)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:64
↓ 1 callersFunction_Blog_ListBlogs0_HTTP_Handler
(srv BlogHTTPServer)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:45
↓ 1 callersFunction_Blog_UpdateBlog0_HTTP_Handler
(srv BlogHTTPServer)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:108
↓ 1 callersFunction_Greeter_SayHello0_HTTP_Handler
(srv GreeterHTTPServer)
di/helloworld/api/helloworld/v1/greeter_http.pb.go:29
↓ 1 callersFunction_Greeter_SayHello0_HTTP_Handler
(srv GreeterHTTPServer)
doutok-course/basic-knowledge/kratos-intro/myproject/api/helloworld/v1/greeter_http.pb.go:29
↓ 1 callersFunction_Greeter_SayHello0_HTTP_Handler
(srv GreeterHTTPServer)
kit/transaction/helloworld/api/helloworld/v1/greeter_http.pb.go:29
↓ 1 callersFunctionadd
定义一个简单的函数
doutok-course/basic-knowledge/golang-intro/hello.go:56
↓ 1 callersMethodaddRankLn
接收排行榜数据,并换行
dragon/printer.go:295
↓ 1 callersFunctionchannelDirection
演示通道方向限制
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:253
↓ 1 callersFunctionconfigDefault
Helper function to set default values
storage/mongodb/config.go:57
↓ 1 callersFunctionconsumer
只能从通道接收数据
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:277
↓ 1 callersFunctioncreateDragon
创建龙
dragon/main.go:266
↓ 1 callersFunctiondangerousFunction
可能会引发panic的函数
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:467
↓ 1 callersFunctiondeferExample
defer示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:475
↓ 1 callersFunctiondeleteTodo
(id)
doutok-course/basic-knowledge/react-intro/App.jsx:48
↓ 1 callersMethodequal
(rank *Rank)
dragon/rank.go:67
↓ 1 callersFunctionfile_blog_v1_blog_proto_init
()
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog.pb.go:695
↓ 1 callersFunctionfile_conf_conf_proto_init
()
di/helloworld/internal/conf/conf.pb.go:544
↓ 1 callersFunctionfile_conf_conf_proto_init
()
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/conf/conf.pb.go:544
↓ 1 callersFunctionfile_conf_conf_proto_init
()
doutok-course/basic-knowledge/kratos-intro/myproject/internal/conf/conf.pb.go:544
↓ 1 callersFunctionfile_conf_conf_proto_init
()
kit/transaction/helloworld/internal/conf/conf.pb.go:544
↓ 1 callersFunctionfile_helloworld_v1_error_reason_proto_init
()
di/helloworld/api/helloworld/v1/error_reason.pb.go:113
↓ 1 callersFunctionfile_helloworld_v1_error_reason_proto_init
()
doutok-course/basic-knowledge/kratos-intro/myproject/api/helloworld/v1/error_reason.pb.go:113
↓ 1 callersFunctionfile_helloworld_v1_error_reason_proto_init
()
kit/transaction/helloworld/api/helloworld/v1/error_reason.pb.go:113
↓ 1 callersFunctionfile_helloworld_v1_error_reason_proto_rawDescGZIP
()
di/helloworld/api/helloworld/v1/error_reason.pb.go:93
↓ 1 callersFunctionfile_helloworld_v1_error_reason_proto_rawDescGZIP
()
doutok-course/basic-knowledge/kratos-intro/myproject/api/helloworld/v1/error_reason.pb.go:93
↓ 1 callersFunctionfile_helloworld_v1_error_reason_proto_rawDescGZIP
()
kit/transaction/helloworld/api/helloworld/v1/error_reason.pb.go:93
↓ 1 callersFunctionfile_helloworld_v1_greeter_proto_init
()
di/helloworld/api/helloworld/v1/greeter.pb.go:177
↓ 1 callersFunctionfile_helloworld_v1_greeter_proto_init
()
doutok-course/basic-knowledge/kratos-intro/myproject/api/helloworld/v1/greeter.pb.go:177
↓ 1 callersFunctionfile_helloworld_v1_greeter_proto_init
()
kit/transaction/helloworld/api/helloworld/v1/greeter.pb.go:177
↓ 1 callersFunctionhandleAdvance
修为进阶
dragon/main.go:234
↓ 1 callersFunctionindexMarkdownFiles
(ctx context.Context, dir string)
eino_assistant/cmd/knowledgeindexing/main.go:51
↓ 1 callersFunctioninitLogger
()
dragon/logger.go:10
↓ 1 callersFunctioninitNPCs
初始化NPC列表,每一级别可以通过添加的NPC的数量控制遇到NPC的频率
dragon/npc.go:200
↓ 1 callersFunctionnewApp
(logger log.Logger, gs *grpc.Server, hs *http.Server)
di/helloworld/cmd/helloworld/main.go:36
↓ 1 callersFunctionnewApp
(logger log.Logger, gs *grpc.Server, hs *http.Server)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/cmd/blog-service/main.go:36
↓ 1 callersFunctionnewApp
(logger log.Logger, gs *grpc.Server, hs *http.Server)
doutok-course/basic-knowledge/kratos-intro/myproject/cmd/myproject/main.go:36
↓ 1 callersFunctionnewApp
(logger log.Logger, gs *grpc.Server, hs *http.Server)
kit/transaction/helloworld/cmd/helloworld/main.go:36
↓ 1 callersFunctionnewDocumentTransformer
newDocumentTransformer component initialization function of node 'MarkdownSplitter' in graph 'KnowledgeIndexing'
eino_assistant/eino/knowledgeindexing/transformer.go:11
↓ 1 callersFunctionnewEmbedding
(ctx context.Context)
eino_assistant/eino/knowledgeindexing/embedding.go:11
↓ 1 callersFunctionnewEmbedding
重用嵌入模型创建函数
eino_assistant/eino/rag/orchestration.go:123
↓ 1 callersFunctionnewIndexer
newIndexer component initialization function of node 'RedisIndexer' in graph 'KnowledgeIndexing'
eino_assistant/eino/knowledgeindexing/indexer.go:27
↓ 1 callersFunctionnewLoader
newLoader component initialization function of node 'FileLoader' in graph 'KnowledgeIndexing'
eino_assistant/eino/knowledgeindexing/loader.go:11
↓ 1 callersFunctionnewNPCIndex
()
dragon/npc.go:173
↓ 1 callersFunctionnewPrinter
()
dragon/printer.go:65
↓ 1 callersFunctionnewRank
(d *Dragon)
dragon/rank.go:119
↓ 1 callersFunctionnewRankInfo
(info string, options ...text.WriteOption)
dragon/printer.go:39
↓ 1 callersFunctionopenFile
模拟文件打开和关闭
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:494
↓ 1 callersMethodparseSearchResults
辅助函数:解析Redis搜索结果
eino_assistant/eino/rag/retriever.go:102
↓ 1 callersFunctionproducer
只能向通道发送数据
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:267
↓ 1 callersMethodreceiveHistory
接收历史数据处理方法
dragon/printer.go:255
↓ 1 callersMethodreceiveOperateHint
接收操作提示后的处理方法
dragon/printer.go:244
↓ 1 callersMethodreceiveRank
接收排行榜数据处理方法
dragon/printer.go:267
↓ 1 callersFunctionrunSyntaxExamples
运行语法示例的函数
doutok-course/basic-knowledge/golang-intro/hello.go:61
↓ 1 callersMethodsave
()
dragon/rank.go:44
↓ 1 callersFunctionselectExample
select示例
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:285
↓ 1 callersMethodsetDragon
(d *Dragon)
dragon/printer.go:239
↓ 1 callersFunctiontoAdventure
外出冒险
dragon/main.go:364
← previousnext →101–200 of 787, ranked by callers