1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

transport/http: clean http client (#981)

* clean http client
This commit is contained in:
Tony Chen
2021-06-01 14:43:31 +08:00
committed by GitHub
parent 079f11fb50
commit bef6d8d818
5 changed files with 78 additions and 105 deletions
-1
View File
@@ -24,7 +24,6 @@ func callHTTP() {
recovery.Recovery(),
),
transhttp.WithEndpoint("127.0.0.1:8000"),
transhttp.WithScheme("http"),
)
if err != nil {
log.Fatal(err)