# Q\&A

Q: 如何避免http服务下载csv文件时出现中文乱码

{% embed url="<https://blog.wangjunfeng.com/post/golang-csv/>" %}

Q: goroutine运行报错fatal error: newproc: function arguments too large for new goroutine

每个gouroutine中加载的对象大小是有限制的，使用值传递的方式在goroutine中赋值时，容易出现上述报错，需要将goroutine中使用的参数传递方式改为指针（特别是对于结构庞大的对象），避免发生对象的内存复制


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://golang-2.gitbook.io/handbook/q-and-a.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
