scientists

package
v0.0.0-...-b17b5ca Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scientist

type Scientist struct {
	ID     int    `json:"id"`
	Name   string `json:"name"`
	Image  string `json:"image"`
	Rating int    `json:"rating"`
	Likes  int    `json:"likes"`
}

Scientist ...

type Scientists

type Scientists struct {
	// contains filtered or unexported fields
}

Scientists ...

func NewScientists

func NewScientists() *Scientists

NewScientists ...

func (*Scientists) GetScientist

func (s *Scientists) GetScientist(id int) *Scientist

GetScientist ...

func (*Scientists) GetScientists

func (s *Scientists) GetScientists() []*Scientist

GetScientists ...

Jump to

Keyboard shortcuts

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