MCPcopy
hub / github.com/betty200744/ultimate-go / TestPostFile

Function TestPostFile

build-in-package/http/http_test.go:69–72  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

67}
68
69func TestPostFile(t *testing.T) {
70 res, _ := PostFile("https://google.com/upload", nil, "file", "/Users/betty/project/git_betty200744/ultimate-go/img/ciphers.png")
71 fmt.Println(string(res[:]))
72}

Callers

nothing calls this directly

Calls 1

PostFileFunction · 0.85

Tested by

no test coverage detected