accounts

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Name  string
	Email string
}

Account structure

type Service

type Service struct {
	DatabaseService *database.Service
}

Service structure Public fields of service structure will be initialized without GoService method

func GetService

func GetService() *Service

GetService returns Service instance

func (*Service) GetByName

func (svc *Service) GetByName(name string) *Account

GetByName returns Account structure by name

Jump to

Keyboard shortcuts

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