pgsql

package
v0.0.0-...-fd95499 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store ...

func New

func New(db *database.DB) *Store

New ...

func (*Store) ClientsList

func (s *Store) ClientsList() ([]*model.Client, error)

ClientsList get all clients and psychologistID

func (*Store) ClientsName

func (s *Store) ClientsName(psychologistID string) ([]*model.Client, error)

ClientsName get names clients from psychologistID

func (*Store) ClientsNames

func (s *Store) ClientsNames(client []*model.Client) ([]*model.Client, error)

ClientsNames get clients name

func (*Store) IsAttachment

func (s *Store) IsAttachment(clientID, psychologistID string) (bool, error)

IsAttachment check attachment client from psycholog

func (*Store) PsychologistID

func (s *Store) PsychologistID(clientID string) (string, error)

PsychologistID find psychologist attachment from client

Jump to

Keyboard shortcuts

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