Migrate from Glide to Go modules and refactor package structure
16 files · 379+ · 364-

Go modules migration

4 files changed
  • go.mod New Go modules file replacing Glide dependency management
  • go.sum Go module checksums
  • glide.lock Removed Glide lock file
  • glide.yaml Removed Glide configuration
  • Migrated from Glide to Go modules for dependency management, removing glide.yaml and glide.lock in favor of go.mod and go.sum baseline architectural
    2 files
    • go.mod
    • go.sum

Package restructure

8 files changed
  • client.go Moved client code from root to api/ package with improved error handling
  • types.go Moved types to api/ package with expanded SRV record fields
  • types_test.go Moved type tests to api/ package
  • client_integration_test.go Renamed and moved integration tests to api/ package
  • config.go Moved config to plugin/terraform-godaddy/ package
  • plugin.go Moved plugin entry point to package
  • provider.go Moved provider to package
  • resource_dns_record.go Refactored resource with updated import paths and improved record handling
  • Restructured from flat package into api/ and plugin/terraform-godaddy/ packages for better separation of API client logic from Terraform plugin implementation decouple architectural
    3 files
    • client.go
    • types.go
    • resource_dns_record.go
  • Bumped TXT record data length limit to 512 bytes to support longer DNS text records harden behavioral
    1 file
    • types.go