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

Calculating area of shapes using Interfaces in go. #2778

Merged
merged 1 commit into from
Oct 7, 2022
Merged

Calculating area of shapes using Interfaces in go. #2778

merged 1 commit into from
Oct 7, 2022

Conversation

arcAman07
Copy link
Contributor

Problem

  • Calculating area of shapes such as circle, square, rectangle, etc in golang.

Solution

  • To solve this particular problem in "golang fashion" I implemented an interface which calculates the area of all such figures implementing the similar "area" method.

Changes proposed in this Pull Request :

  • 1.
  • ..

Other changes

@fineanmol fineanmol added the hacktoberfest-accepted Accept for hacktoberfest, will merge later label Oct 7, 2022
@fineanmol fineanmol merged commit c98ead2 into fineanmol:master Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Accept for hacktoberfest, will merge later
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants