rectangle

package
v0.0.0-...-a2a1f02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RectangleAreaFunction

func RectangleAreaFunction(r Rectangle) float64

RectangleAreaFunction area using function

Types

type Rectangle

type Rectangle struct {
	Width  float64
	Height float64
}

Rectangle is a Rectangle

func (Rectangle) RectangleAreaMethod

func (r Rectangle) RectangleAreaMethod() float64

RectangleAreaMethod area using method

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL