Is there a way to UT upload files with GraphQL + Golang?

后端 未结 0 1771
情话喂你
情话喂你 2021-01-28 01:02

I\'m working on making UT for my GraphQL API. I need to test a mutation where I upload a file. I am using gqlgen on this project.

...
localFile, err := os.Open(&q         


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