exercise1

command
v0.0.0-...-361c87b Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Declare a struct type named Point with two fields, X and Y of type int. Implement a factory function for this type and a method that accepts this type and calculates the distance between the two points. What is the nature of this type.

Jump to

Keyboard shortcuts

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