(uploadURL, localPath string)
| 68 | } |
| 69 | |
| 70 | func UploadFile(uploadURL, localPath string) error { |
| 71 | return UploadFileWithContentType(context.Background(), uploadURL, localPath, "application/octet-stream") |
| 72 | } |
| 73 | |
| 74 | func UploadFileWithContentType(ctx context.Context, uploadURL, localPath, contentType string) error { |
| 75 | file, err := os.Open(localPath) |
nothing calls this directly
no test coverage detected