Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DoNewsCode/core
/ WriteHeader
Method
WriteHeader
srvhttp/encode_test.go:27–29 ·
view source on GitHub ↗
(statusCode int)
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(m *MockWriter) WriteHeader(statusCode int) {
28
m.code = statusCode
29
}
30
31
func
TestEncoder(t *testing.T) {
32
cases := []
struct
{
Callers
1
encode
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected