提交 6a77fc2d authored 作者: mooncake9527's avatar mooncake9527

update

上级 9a9201db
......@@ -107,7 +107,7 @@ func (x *CSVExporter[T]) Upload() *CSVExporter[T] {
return x
}
func (x *CSVExporter[T]) WriteToGin(c *gin.Context) *CSVExporter[T] {
func (x *CSVExporter[T]) writeToGin(c *gin.Context) *CSVExporter[T] {
if x.err != nil {
return x
}
......@@ -122,7 +122,7 @@ func (x *CSVExporter[T]) WriteToGin(c *gin.Context) *CSVExporter[T] {
return x
}
func (x *CSVExporter[T]) WriteToCtx(ctx context.Context) *CSVExporter[T] {
func (x *CSVExporter[T]) WriteToReply(ctx context.Context) *CSVExporter[T] {
if x.err != nil {
return x
}
......@@ -131,7 +131,7 @@ func (x *CSVExporter[T]) WriteToCtx(ctx context.Context) *CSVExporter[T] {
x.err = err
return x
}
return x.WriteToGin(c)
return x.writeToGin(c)
}
func (x *CSVExporter[T]) Err() error {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论