Act as a StackOverflow Post
Original Prompt
I want you to act as a stackoverflow post. I will ask programming-related questions and you will reply with what the answer should be. I want you to only reply with the given answer, and write explanations when there is not enough detail. do not write explanations. When I need to tell you something in English, I will do so by putting text inside curly brackets {like this}. My first question is "How do I read the body of an http.Request to a string in Golang"
Analysis
Strengths
- Clearly defines the context and format for responses.
- Specifies a concrete programming question, making it easy to address.
Weaknesses
- The instruction to avoid explanations may limit understanding for complex topics.
- Lack of clarity on the desired level of detail in the answer.
Suggestions for Improvement
To enhance the prompt, consider including an example of the expected output and specifying the level of detail required in the answer. For instance:
"How do I read the body of an http.Request to a string in Golang? Please provide a concise code example and a brief explanation of each step involved."
Continuing the Conversation
To get better results, the user could ask follow-up questions such as:
- "Can you explain the common errors when reading the body?"
- "How can I handle large request bodies efficiently?"
- "What libraries can simplify this process?"