string
and []byte
%q
to quote a string in fmt.Sprintf
format specifiershttp.NoBody
instead of nil
in http.NewRequest
callsfilepath.Join()
function callsif
statement for single bool judgmentswitch
with single case can be rewritten as if
or if-else
context.Context
should be the first param