Use http.NoBody instead of nil in http.NewRequest calls GO-R4001
Anti-pattern
Major
1 occurrence in this check
http.NoBody should be preferred to the nil request body
169
170// Request sends http json request.
171func Request(ctx context.Context, method, url string, payload, data interface{}) error {
172	req, err := http.NewRequestWithContext(ctx, method, url, nil)173	if err != nil {
174		return err
175	}