Go module v2.0.0

Breaking changes

  • Rename DataDomeStruct structure to Client
  • Remove DataDome prefix on fields of the Client structure
  • Replace sub-packages with a single modulego package
  • Update the NewClient signature to use the functional options pattern
  • Handle configuration errors during the client's instantiation

General changes

  • Add support of 301/302 redirections returned by the Protection API
  • Add Logger field to the Client structure
  • Enhance code documentation