exercise1

command
v0.0.0-...-35bbffe Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2015 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 accept a value of 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