From bfc0370549b49b32a0b91b2c5ad4d021336046d8 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Wed, 15 May 2019 23:55:49 -0400 Subject: [PATCH] notes --- scan.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scan.go b/scan.go index ada1f77..f4fb0ad 100644 --- a/scan.go +++ b/scan.go @@ -16,7 +16,9 @@ func upload(directory string) { // TODO: Add revision var body = map[string]string{ - "@files[]": fileNames[0], + // maybe use httpclient.addFormFile and do everything manually... + // https://github.com/ddliu/go-httpclient/blob/master/httpclient.go#L676 + "@files[]": fileNames[0], // TODO: Add multiple files } _, err := httpclient.WithHeaders(map[string]string{