foo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(a, b int) int

func InitFooModule

func InitFooModule() Module

Types

type Point

type Point struct {
	X float64
	Y float64
}

func (*Point) Distance

func (p *Point) Distance() float64

func (*Point) Move

func (p *Point) Move(dx, dy float64)

Move method for Point

func (*Point) Print

func (p *Point) Print()

Jump to

Keyboard shortcuts

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