package
0.0.0-20211011085856-a9e1195f5da7
Repository: https://github.com/sod-lol/filter-rect.git
Documentation: pkg.go.dev

# Functions

ConvertRectangleToRectangleResponseconvert give Rectangle model to Rectangle Reponse struct.
POST.
GET.
IsRectangleOverlapit will take 2 rectangle and return true if two rectangle has overlapand false otherwise.
ValidateRectangleRequestis to validate rectangle since zero value can accepted we use pointer instead of numberso we should check their value with nil to ensure value no present in request.

# Structs

RectangleResponsestruct for return reponse to client.