-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement AddZoneRecord #5
Conversation
af75aea
to
5938748
Compare
dns.go
Outdated
element.ID = 0 | ||
|
||
// Compare by value | ||
if *&element == *record { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this bad practice? @akarl818
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. Although wouldn't element == *record
be the same thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks a lot simpler! Thanks for the suggestion
5938748
to
6505d42
Compare
dns.go
Outdated
element.ID = 0 | ||
|
||
// Compare by value | ||
if *&element == *record { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. Although wouldn't element == *record
be the same thing?
fe7d6ca
to
7eb1537
Compare
No description provided.