Is this the idiomatic way to empty a slice of strings?

后端 未结 0 1283
予麋鹿
予麋鹿 2021-01-29 17:02

I want to empty a slice of strings.

This is the code I have tried (it works). But I would like to know if this is the idiomatic way of emptying a slice in Go:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题