inmemory

package
v0.0.0-...-a35bd06 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrganizationRepository

type OrganizationRepository struct {
	Storage map[string]model.Organization
}

OrganizationRepository is a implementation for tests

func (*OrganizationRepository) GetByEmail

func (r *OrganizationRepository) GetByEmail(email string) (*model.Organization, error)

GetByEmail returns a organization by its email

Jump to

Keyboard shortcuts

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