How to check if a struct imported from another file is empty in a golang test?

前端 未结 0 1180
走了就别回头了
走了就别回头了 2020-12-06 23:19

I am testing that a function that returns a user-defined struct is returning and empty struct for a set of arguments. All of the examples I can find to test if a struct is e

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