MCPcopy Create free account
hub / github.com/LevInteractive/imageup / openFile

Function openFile

gcp_test.go:12–18  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

10)
11
12func openFile(filename string) io.Reader {
13 f, err := os.Open(filename)
14 if err != nil {
15 panic(err)
16 }
17 return f
18}
19
20func TestFileName(t *testing.T) {
21 tests := []struct {

Callers 3

TestGetOrientationFunction · 0.85
TestGetDimensionsFunction · 0.85
TestManipulateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected