如何在Golang中读取大型YAML文件?

huangapple go评论132阅读模式
英文:

how to read large YAML file in golang?

问题

有没有一种在Golang中读取大型YAML文件的内存高效方式,比如说有没有一种在Go语言中以块的方式读取YAML文件的方法?

英文:

Is there any memory-efficient way to read large YAML files in Golang, like is there any way to read YAML file in chunks in go lang

答案1

得分: 1

我使用了Viper。对我来说效果很好。

英文:

I used Viper. Worked well for me.

huangapple
  • 本文由 发表于 2022年2月9日 15:35:32
  • 转载请务必保留本文链接:https://go.coder-hub.com/71045549.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定