package
module
Version:
v0.0.0-...-a5478c1
Opens a new window with list of versions in this module.
Published: May 1, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
superheroes
Get superhero names
Inspired by Sindre Sorhus's superheroes
Install
go get -u github.com/fernandoporazzi/superheroes
Usage
To return all superheroes from the list:
superheroes.All()
To return a random superhero:
superheroes.Random()
Documentation
¶
All returns all superheroes from the list.go
Random returns a single superhero from the list.go
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.