Is there any way possible to create multipart.FileHeader instance from the local file in golang?

后端 未结 0 1090
暗喜
暗喜 2020-11-27 12:21

i need to test a function that takes the multipart.FileHeader type as one of the input parameter. But for testing, i need to create the multipart.FileHeader instance from th

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