common

package
v0.0.0-...-9d91cd3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type College

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

College .

func NewCollege

func NewCollege() *College

NewCollege .

func (*College) Add

func (c *College) Add(payload Student, reply *Student) error

Add .

func (*College) Get

func (c *College) Get(payload int, reply *Student) error

Get .

type Student

type Student struct {
	ID                  int
	FirstName, LastName string
}

Student .

func (Student) FullName

func (s Student) FullName() string

FullName .

Jump to

Keyboard shortcuts

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