Skip to content
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

What is the difference between Equal and Equalf? #471

Closed
cskr opened this issue Jul 5, 2017 · 4 comments
Closed

What is the difference between Equal and Equalf? #471

cskr opened this issue Jul 5, 2017 · 4 comments

Comments

@cskr
Copy link

cskr commented Jul 5, 2017

Given Equalf essentially invokes Equal, why do *f even exist as separate functions?

@bits01
Copy link
Contributor

bits01 commented Jul 5, 2017

I was wondering the exact same thing. Maybe some legacy reason?

@emou
Copy link
Contributor

emou commented Aug 23, 2017

It's a fix for go vet. See #339

@cskr
Copy link
Author

cskr commented Aug 24, 2017

@emou In that case Equal must also behave like fmt.Print, not like fmt.Printf.

@mvdkleijn
Copy link
Contributor

I believe this was answered in the past. If you feel this requires further action, please comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants