I want to import google cloud storage but failed. what should I do?
I used auto-import in Goland(go get -t cloud.google.com/go/storage)
& go get -u cloud.google.com/go/storage
in teminal.
They both returned this error: Fetching https://cloud.google.com/go/storage?go-get=1 https fetch failed: Get https://cloud.google.com/go/storage?go-get=1: dial tcp 172.217.160.110:443: i/o timeout package cloud.google.com/go/storage/...: unrecognized import path "cloud.google.com/go/storage" (https fetch: Get https://cloud.google.com/go/storage?go-get=1: dial tcp 172.217.160.110:443: i/o timeout)
package main
import (
"cloud.google.com/go/storage"
"context"
"encoding/json"
"fmt"
"github.com/pborman/uuid"
"gopkg.in/olivere/elastic.v3"
"io"
"log"
"net/http"
"reflect"
"strconv"
"strings"
)