Closed yamamoto-febc closed 2 years ago
NewDefaultCaller()をNewCallerWithDefaults(opts *CallerOptions)に修正する。
NewDefaultCaller()
NewCallerWithDefaults(opts *CallerOptions)
基本的に各アプリケーション側で何らかのオプション指定を行うことが多く、環境変数/デフォルト値のみ利用というケースはほとんどないため。 もし必要であればNewCallerWithDefaults(opts *CallerOptions)に空のCallerOptionsを渡せば良い。
861 のフォロー
NewDefaultCaller()
をNewCallerWithDefaults(opts *CallerOptions)
に修正する。基本的に各アプリケーション側で何らかのオプション指定を行うことが多く、環境変数/デフォルト値のみ利用というケースはほとんどないため。 もし必要であれば
NewCallerWithDefaults(opts *CallerOptions)
に空のCallerOptionsを渡せば良い。