MCPcopy Create free account

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

Functions787 in github.com/BaiZe1998/go-learning

↓ 94 callersMethodadd
(stage int, npc *NPC, num int)
dragon/npc.go:179
↓ 32 callersFunctionnewHistoryInfo
(info string, options ...text.WriteOption)
dragon/printer.go:32
↓ 26 callersMethodaddHistory
接收历史数据
dragon/printer.go:284
↓ 14 callersMethodClose
(context.Context)
storage/mongodb/mongodb.go:49
↓ 11 callersMethodaddOperateHint
显示操作提示
dragon/printer.go:279
↓ 11 callersFunctionfile_blog_v1_blog_proto_rawDescGZIP
()
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog.pb.go:647
↓ 8 callersMethodSayHello
Sends a greeting
kit/transaction/helloworld/api/helloworld/v1/greeter_grpc.pb.go:26
↓ 7 callersFunctionfile_conf_conf_proto_rawDescGZIP
()
di/helloworld/internal/conf/conf.pb.go:507
↓ 7 callersFunctionfile_conf_conf_proto_rawDescGZIP
()
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/conf/conf.pb.go:507
↓ 7 callersFunctionfile_conf_conf_proto_rawDescGZIP
()
doutok-course/basic-knowledge/kratos-intro/myproject/internal/conf/conf.pb.go:507
↓ 7 callersFunctionfile_conf_conf_proto_rawDescGZIP
()
kit/transaction/helloworld/internal/conf/conf.pb.go:507
↓ 6 callersMethodCreate
(ctx context.Context, blog *Blog)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/biz/blog.go:22
↓ 6 callersMethodaddHistoryLn
接收历史数据,并换行
dragon/printer.go:289
↓ 5 callersMethodDecode
(interface{})
storage/mongodb/mongodb.go:51
↓ 5 callersMethodError
()
kit/i18n/message.go:26
↓ 5 callersMethodPing
(context.Context)
storage/mongodb/mongodb.go:25
↓ 5 callersFunctionappendExperience
增加经验
dragon/main.go:193
↓ 4 callersMethodFindOne
(context.Context, interface{})
storage/mongodb/mongodb.go:33
↓ 4 callersMethodSave
(blog *Blog)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/data/model/blog.go:23
↓ 4 callersMethodreadBlogsFromFile
内部函数,不加锁,用于读取CSV文件内容
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/data/model/blog.go:56
↓ 3 callersMethodDB
(ctx context.Context)
kit/transaction/helloworld/pkg/db/db.go:46
↓ 3 callersMethodExec
(query string, args ...interface{})
di/no_di/main.go:17
↓ 3 callersFunctionMerge
(s []int, middle int)
concurrence/main.go:58
↓ 3 callersMethodReset
()
di/helloworld/internal/conf/conf.pb.go:143
↓ 3 callersMethodString
()
doutok-course/basic-knowledge/kratos-intro/myproject/internal/conf/conf.pb.go:152
↓ 3 callersMethodValue
获取计数器值
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:684
↓ 3 callersMethodattacked
(attackPower int)
dragon/basic.go:14
↓ 3 callersMethodflush
接收信号,用于刷新数值区
dragon/printer.go:301
↓ 3 callersMethodget
(stage int)
dragon/npc.go:189
↓ 3 callersMethodisAlive
()
dragon/basic.go:10
↓ 3 callersFunctionisGameOver
是否游戏结束
dragon/main.go:261
↓ 3 callersFunctionprintInfo
打印任何实现了Describer接口的类型信息
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:661
↓ 3 callersMethodstrengthen
(attack, defense, life, experience float64)
dragon/npc.go:12
↓ 2 callersMethodCollection
(string)
storage/mongodb/mongodb.go:29
↓ 2 callersMethodCreateBlog
(ctx context.Context, in *CreateBlogRequest, opts ...grpc.CallOption)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_grpc.pb.go:35
↓ 2 callersMethodDatabase
(string)
storage/mongodb/mongodb.go:21
↓ 2 callersMethodDelete
(ctx context.Context, id string)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/biz/blog.go:24
↓ 2 callersMethodDeleteBlog
(ctx context.Context, in *DeleteBlogRequest, opts ...grpc.CallOption)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_grpc.pb.go:37
↓ 2 callersMethodDeleteOne
(context.Context, interface{})
storage/mongodb/mongodb.go:36
↓ 2 callersMethodFind
(context.Context, interface{}, ...*options.FindOptions)
storage/mongodb/mongodb.go:37
↓ 2 callersMethodGet
(ctx context.Context, id string)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/biz/blog.go:21
↓ 2 callersMethodGet
(id string)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/data/model/blog.go:22
↓ 2 callersMethodGetBlog
(ctx context.Context, in *GetBlogRequest, opts ...grpc.CallOption)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_grpc.pb.go:34
↓ 2 callersMethodInsertOne
(context.Context, interface{})
storage/mongodb/mongodb.go:34
↓ 2 callersMethodList
(ctx context.Context)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/biz/blog.go:20
↓ 2 callersMethodListBlogs
(ctx context.Context, in *ListBlogsRequest, opts ...grpc.CallOption)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_grpc.pb.go:33
↓ 2 callersMethodNext
(context.Context)
storage/mongodb/mongodb.go:50
↓ 2 callersMethodProcess
Process 处理偶发事件
dragon/dragon.go:55
↓ 2 callersMethodString
()
di/helloworld/internal/conf/conf.pb.go:152
↓ 2 callersMethodUpdate
(ctx context.Context, id string, blog *Blog)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/biz/blog.go:23
↓ 2 callersMethodUpdate
(context.Context, *Greeter)
kit/transaction/helloworld/internal/biz/greeter.go:30
↓ 2 callersMethodUpdateBlog
(ctx context.Context, in *UpdateBlogRequest, opts ...grpc.CallOption)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_grpc.pb.go:36
↓ 2 callersMethodUpdateOne
(context.Context, interface{}, interface{}, ...*options.UpdateOptions)
storage/mongodb/mongodb.go:40
↓ 2 callersFunctionappendLife
增加生命
dragon/main.go:224
↓ 2 callersFunctionchannelExamples
=================== 通道示例 ===================
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:204
↓ 2 callersFunctioncreateTableIfNotExists
(db *sql.DB)
dragon/rank.go:28
↓ 2 callersFunctiondivide
演示可能返回错误的函数
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:459
↓ 2 callersFunctionerrorHandlingExamples
=================== 错误处理示例 ===================
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:414
↓ 2 callersFunctionfile_helloworld_v1_greeter_proto_rawDescGZIP
()
di/helloworld/api/helloworld/v1/greeter.pb.go:154
↓ 2 callersFunctionfile_helloworld_v1_greeter_proto_rawDescGZIP
()
doutok-course/basic-knowledge/kratos-intro/myproject/api/helloworld/v1/greeter.pb.go:154
↓ 2 callersFunctionfile_helloworld_v1_greeter_proto_rawDescGZIP
()
kit/transaction/helloworld/api/helloworld/v1/greeter.pb.go:154
↓ 2 callersFunctiongetInputTurn
()
dragon/main.go:401
↓ 2 callersFunctiongetRanks
()
dragon/rank.go:75
↓ 2 callersFunctioniterationExamples
=================== 遍历方法示例 ===================
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:315
↓ 2 callersFunctionmapExamples
=================== 映射示例 ===================
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:147
↓ 2 callersFunctionprintArea
打印形状的面积
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:666
↓ 2 callersFunctionrandomDecreaseState
随机减少属性
dragon/main.go:329
↓ 2 callersFunctionrandomIncreaseState
随机增加属性
dragon/main.go:312
↓ 2 callersFunctionshowRank
(ranks []*Rank, rank *Rank)
dragon/rank.go:130
↓ 2 callersFunctionsliceExamples
=================== 切片示例 ===================
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:76
↓ 2 callersFunctionstructExamples
=================== 结构体和方法示例 ===================
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:514
↓ 2 callersMethodwriteBlogs
writeBlogs 将博客列表写入CSV文件
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/data/model/blog.go:168
↓ 1 callersMethodAggregate
(context.Context, interface{})
storage/mongodb/mongodb.go:39
↓ 1 callersMethodAll
(context.Context, interface{})
storage/mongodb/mongodb.go:52
↓ 1 callersMethodAnswer
Answer 处理问题并生成回答
eino_assistant/eino/rag/orchestration.go:31
↓ 1 callersMethodArea
()
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:622
↓ 1 callersMethodCountDocuments
(context.Context, interface{}, ...*options.CountOptions)
storage/mongodb/mongodb.go:38
↓ 1 callersMethodCreateBlog
(context.Context, *CreateBlogRequest)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:29
↓ 1 callersMethodCreateGreeter
CreateGreeter creates a Greeter, and returns the new Greeter.
di/helloworld/internal/biz/greeter.go:43
↓ 1 callersMethodCreateGreeter
CreateGreeter creates a Greeter, and returns the new Greeter.
doutok-course/basic-knowledge/kratos-intro/myproject/internal/biz/greeter.go:43
↓ 1 callersMethodCreateGreeter
CreateGreeter creates a Greeter, and returns the new Greeter.
kit/transaction/helloworld/internal/biz/greeter.go:49
↓ 1 callersMethodDelete
(id string)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/internal/data/model/blog.go:24
↓ 1 callersMethodDeleteBlog
(context.Context, *DeleteBlogRequest)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:30
↓ 1 callersMethodDescription
值接收者方法
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:604
↓ 1 callersMethodDescription
()
doutok-course/basic-knowledge/golang-intro/syntax_examples.go:657
↓ 1 callersMethodDescriptor
()
di/helloworld/api/helloworld/v1/error_reason.pb.go:52
↓ 1 callersMethodDescriptor
()
doutok-course/basic-knowledge/kratos-intro/myproject/api/helloworld/v1/error_reason.pb.go:52
↓ 1 callersMethodDescriptor
()
kit/transaction/helloworld/api/helloworld/v1/error_reason.pb.go:52
↓ 1 callersMethodDisconnect
(context.Context)
storage/mongodb/mongodb.go:22
↓ 1 callersMethodExec
(query string, args ...interface{})
di/wire_di/main.go:11
↓ 1 callersMethodExec
(query string, args ...interface{})
di/simple_di/main.go:11
↓ 1 callersMethodExecTx
(context.Context, func(ctx context.Context) error)
kit/transaction/helloworld/pkg/db/db.go:33
↓ 1 callersMethodFight
Fight 与 NPC 战斗
dragon/dragon.go:23
↓ 1 callersMethodFoo
()
generics/main.go:7
↓ 1 callersFunctionFormatErr
(err error)
kit/i18n/message.go:66
↓ 1 callersMethodGenerate
(ctx context.Context, query string, documents []*schema.Document)
eino_assistant/eino/rag/generator.go:17
↓ 1 callersFunctionGenerateSlice
GenerateSlice 创建一个包含从 1 到 n 的整数的切片,并随机打乱顺序。
concurrence/main.go:11
↓ 1 callersMethodGet
()
generics/main.go:11
↓ 1 callersMethodGetBlog
(context.Context, *GetBlogRequest)
doutok-course/basic-knowledge/blog-demo/backend/blog-service/api/blog/v1/blog_http.pb.go:31
↓ 1 callersMethodGetData
(query string, args ...interface{})
di/wire_di/main.go:24
next →1–100 of 787, ranked by callers