Is there a way to simulate file closing error in Go?

后端 未结 0 391
耶瑟儿~
耶瑟儿~ 2021-01-24 02:42

I have this function.

func fetch(url string) (filename string, n int64, err error) {
    resp, err := http.Get(url)
            


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