On Mon, Dec 21, 2020 at 2:55 PM Alexander Mills <alexander.d.mi...@gmail.com> wrote:
> this is a little irritating lol, i can get a signed url via: > > bucket := "bnk-photos" > filename := "mypic3.json" > method := "PUT" > expires := time.Now().Add(time.Minute * 10) > > url, err := storage.SignedURL(bucket, filename, &storage.SignedURLOptions{ > GoogleAccessID: cfg.Email, > PrivateKey: cfg.PrivateKey, > Method: method, > Expires: expires, > ContentType: "binary/octet-stream", > }) > > > but I just want an *unsigned* url? > how? > What is the "storage" package? It's not part of the Go stdlib. Also, what is a "signed" URL. I've never heard that phrase before your email. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD_A1XyTxpYDoHRTEFY9Pv35cWuxFm58WVRVUWH2Z443ug%40mail.gmail.com.