2022-08-21から1日間の記事一覧
Golang:API 実行 と httptest httptest refs Golang:API 実行 と httptest httptest テスト用のモックサーバをたてることができる API 実行コード const apiurl = "https:/xxxxxx" func buildGetRequest(name string) (*http.Request, error) { url := api…
Golang:API 実行 と httptest httptest refs Golang:API 実行 と httptest httptest テスト用のモックサーバをたてることができる API 実行コード const apiurl = "https:/xxxxxx" func buildGetRequest(name string) (*http.Request, error) { url := api…