package
Version:
v0.0.0-...-9d0d9e6
Opens a new window with list of versions in this module.
Published: Sep 27, 2015
License: GPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Create some types of our own
func (p Poem) NumLines() (count int)
Get the number of lines in a Poem
Get the number of Stanzas in a poem
func (p Poem) Stats() (numVowels, numConsonants, numPuncs int)
Get the count of vowels and consonants from the poem
set String() for poem to make it implement Stringer interface
Get the number of line in a Stanza
Set String() for Stanza to make it implement Stringer interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.