golangでunsupported protocol scheme "" というエラーが出た場合
理由はおそらくURLの記述間違えているパターン。
例としてslackのAPIを叩きたい時に僕は
resp, err := http.PostForm("https://hooks.slack.com/ 〜〜略〜〜
と書くべき所を
resp, err := http.PostForm(" https://hooks.slack.com/ 〜〜略〜〜
とhttpsの前にスペース入れているのを気づかなくて、このunsupported protocol scheme "" というエラーが出ました。