Access response writer #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How to access response writer or do I need to set manually at lower level?
Is this correct approach?
I suppose you could do that but I think it's better to clear the body first with
SetBody(nil)
:Or shorter:
thanks mate, wasn't sure if I missing something as went through the code and test cases.