MCPcopy Create free account
hub / github.com/mmcgrana/gobyexample / writeFile

Function writeFile

examples/defer/defer.go:39–42  ·  view source on GitHub ↗
(f *os.File)

Source from the content-addressed store, hash-verified

37}
38
39func writeFile(f *os.File) {
40 fmt.Println("writing")
41 fmt.Fprintln(f, "data")
42}
43
44func closeFile(f *os.File) {
45 fmt.Println("closing")

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected