forked from mirror/client_golang
40e54a75a6
Make apiClientImpl.DoGetFallback more idiomatic and efficient: * Save result of args.Encode() operation as it might be used 2 times in the function and due to looping and sorting it might be heavy. * Follow line-of-sight practise and therefore simplify the code. Signed-off-by: Tomáš Dohnálek <dohnto@gmail.com> |
||
---|---|---|
.. | ||
api.go | ||
api_bench_test.go | ||
api_test.go | ||
example_test.go |