main
Raw Download raw file
1Write an internal golang package that 
2
3 - Follows the Uber Golang Style Guide (https://github.com/uber-go/guide/blob/master/style.md)
4 - Uses the `cloudflare-go` library (https://pkg.go.dev/github.com/cloudflare/cloudflare-go) 
5 - Uses a New constructor with api token as the only required parameter
6 - Sets via lookup by Name the ZoneID via a functional option and/or a method
7 - Sets the DNS Record ID by name for a subdomain via a functional option and/or a method
8 - Sets the DNS Record (upsert) to an A record with a provided IP address