terraform-provider-godaddy
2018-12-29
Migrate from Glide to Go modules and refactor package structure
16 files · 379+ · 364-
Go modules migration
4 files changed
go.modNew Go modules file replacing Glide dependency managementgo.sumGo module checksumsglide.lockRemoved Glide lock fileglide.yamlRemoved 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.modgo.sum
Package restructure
8 files changed
client.goMoved client code from root to api/ package with improved error handlingtypes.goMoved types to api/ package with expanded SRV record fieldstypes_test.goMoved type tests to api/ packageclient_integration_test.goRenamed and moved integration tests to api/ packageconfig.goMoved config to plugin/terraform-godaddy/ packageplugin.goMoved plugin entry point to packageprovider.goMoved provider to packageresource_dns_record.goRefactored 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.gotypes.goresource_dns_record.go
- Bumped TXT record data length limit to 512 bytes to support longer DNS text records
harden
behavioral
1 file
types.go