template1

command
v0.0.0-...-8a36715 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2016 License: Apache-2.0 Imports: 0 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