Skip to content

Add support for omitempty field tag to exclude empty values from queries and headers #189

Add support for omitempty field tag to exclude empty values from queries and headers

Add support for omitempty field tag to exclude empty values from queries and headers #189

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.20"
- name: Test and generate coverage report
run: make test/cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
files: ./main.cover.out
flags: unittests
fail_ci_if_error: true
verbose: true