module:
  go:
    version: v3.2.3
  overrides:
  - name: github.com/davecgh/go-spew
    version: v1.1.1
    license:
      path: LICENSE
      spdxId: ISC
  - name: github.com/docker/spdystream
    excludePaths:
    - LICENSE.docs # documentations use this license, does not affect us
  - name: github.com/gogo/protobuf
    version: v1.3.2
    license:
      # All files have either BSD-3-Clause or BSD-2-Clause licenses with manual
      # inspection.
      path: LICENSE
      spdxId: BSD-3-Clause / BSD-2-Clause
  - name: github.com/googleapis/gax-go/v2
    version: v2.0.5
    license:
      path: LICENSE
      spdxId: BSD-3-Clause
  - name: github.com/googleapis/gnostic
    excludePaths: # Test path with different licenses
    - plugins/gnostic-swift-generator/examples/bookstore/Tests
  - name: github.com/gorilla/websocket
    excludePaths:
    - examples
  - name: github.com/jmespath/go-jmespath
    version: v0.4.0
    license: # non-standard license file
      path: LICENSE
      spdxId: Apache-2.0
  - name: github.com/beorn7/perks
    excludePaths:
    - README.md # duplicate info compared to LICENSE
  - name: github.com/matttproud/golang_protobuf_extensions
    excludePaths:
    - testdata
  - name: github.com/prometheus/common
    # license for the two files are already included in 
    # /internal/bitbucket.org/ww/goautoneg/README.txt
    excludePaths:
    - internal/bitbucket.org/ww/goautoneg/autoneg.go
    - internal/bitbucket.org/ww/goautoneg/autoneg_test.go
  - name: github.com/spf13/cobra
    # cobra/cmd contains templates for different licenses.
    # cobra itself is licensed under those licenses.
    excludePaths:
    - cobra/cmd
  - name: golang.org/x/net
    excludePaths:
    - html/testdata
  - name: google.golang.org/protobuf
    version: v1.26.0
    license:
      path: LICENSE
      # Many files contain license headers, but they are all BSD-3-Clause
      spdxId: BSD-3-Clause
  - name: gopkg.in/jcmturner/gokrb5.v5
    excludePaths:
    - testenv
  - name: upper.io/db.v3
    version: v3.6.3
    license:
      path: README.md
      spdxId: MIT
  # The following modules have to be special cased, because we don't have a
  # good support for modules not at the root of the repo.
  # Refer to https://github.com/google/go-licenses/issues/73.
  - name: github.com/Azure/go-autorest/autorest
    version: v0.11.18
    license:
      url: https://github.com/Azure/go-autorest/blob/autorest/v0.11.1/LICENSE
      spdxId: Apache-2.0
  - name: github.com/Azure/go-autorest/autorest/adal
    version: v0.9.13
    license:
      url: https://github.com/Azure/go-autorest/blob/autorest/adal/v0.9.5/LICENSE
      spdxId: Apache-2.0
  - name: github.com/Azure/go-autorest/autorest/date
    version: v0.3.0
    license:
      url: https://github.com/Azure/go-autorest/blob/autorest/date/v0.3.0/LICENSE
      spdxId: Apache-2.0
  - name: github.com/Azure/go-autorest/logger
    version: v0.2.1
    license:
      url: https://github.com/Azure/go-autorest/blob/logger/v0.2.0/LICENSE
      spdxId: Apache-2.0
  - name: github.com/Azure/go-autorest/tracing
    version: v0.6.0
    license:
      url: https://github.com/Azure/go-autorest/blob/tracing/v0.6.0/LICENSE
      spdxId: Apache-2.0
  - name: cloud.google.com/go/storage
    version: v1.10.0
    license:
      url: https://github.com/googleapis/google-cloud-go/blob/storage/v1.6.0/LICENSE
      spdxId: Apache-2.0
  - name: gopkg.in/yaml.v3
    version: v3.0.0-20210107192922-496545a6307b
    license:
      path: LICENSE
      spdxId: MIT / Apache-2.0 # Refer to https://github.com/go-yaml/yaml/blob/496545a6307b/LICENSE
  - name: github.com/sergi/go-diff
    excludePaths:
    - README.md # README.md contains duplicate info about licenses
