Skip to content

Conversation

@jeff-lyu
Copy link

No description provided.

@appleboy appleboy closed this in #63 Nov 25, 2023
appleboy added a commit that referenced this pull request Nov 25, 2023
- Add a `Status` method to the `Writer` struct
- Modify the `TestWriter_Status` test function to include the new `Status` method

fixed by @zhyee

fixed #52
fixed #51

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
appleboy added a commit that referenced this pull request Nov 25, 2023
- Modify the `New` function in `timeout.go` to include a new line of code
- Delete the `WriteHeader` function in `writer.go`
- Add a new line of code to the `WriteHeader` function in `writer.go`
- Add a new test case to the `TestWriter_Status` function in `writer_test.go`
- Add a new function `testNew` to `writer_test.go`
- Add a new function `timeoutHandler` to `writer_test.go`
- Add a new test case to the `TestHTTPStatusCode` function in `writer_test.go`

fixed by @jeff-lyu

ref: #52
fixed #31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant