Skip to content

bekbolsky/golang-united-school-homework-6.1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-united-school-homework-6.1

Inside this repo you can find boilerplate code with comments that describe expected behavior of methods.

Prerequisite:

  • Execute commands
    • go mod init
    • go mod tidy

Required to implement:

  • Calculate Area and Perimeter for shapes Circle, Triangle, Rectangle in circle.go, triangle.go, rectangle.go files.
  • Circle, Triangle, Rectangle must satisfy to Shape interface.
  • Methods for Box structure in box.go file.

Final solution must satisfy to provided unit tests in box_test.go file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%