MCPcopy Create free account
hub / github.com/devfeel/dotweb / format

Function format

utils_test.go:113–118  ·  view source on GitHub ↗
(b string)

Source from the content-addressed store, hash-verified

111}
112
113func format(b string) io.ReadCloser {
114 s := strings.NewReader(b)
115 r := ioutil.NopCloser(s)
116 r.Close()
117 return r
118}
119
120type InitContextParam struct {
121 t *testing.T

Callers 2

initContextFunction · 0.85
initAllContextFunction · 0.85

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected