service

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FullNameImpl added in v0.1.2

type FullNameImpl struct {
}

func (FullNameImpl) FirstNameI added in v0.1.2

func (f FullNameImpl) FirstNameI() string

func (FullNameImpl) LastNameI added in v0.1.2

func (f FullNameImpl) LastNameI() string

type NameService added in v0.1.2

type NameService interface {
	FirstNameI() string
	LastNameI() string
}

type NameServiceImpl added in v0.1.2

type NameServiceImpl struct {
}

func (NameServiceImpl) FirstNameI added in v0.1.2

func (n NameServiceImpl) FirstNameI() string

func (NameServiceImpl) LastNameI added in v0.1.2

func (n NameServiceImpl) LastNameI() string

type UserService

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

func (UserService) GetUserById added in v0.1.2

func (receiver UserService) GetUserById(id string) (model.User, error)

func (UserService) GetUserByNameAndAddress added in v0.1.2

func (receiver UserService) GetUserByNameAndAddress(name, address string) (model.User, error)

func (UserService) SearchUsersByFirsName added in v0.1.2

func (receiver UserService) SearchUsersByFirsName(firstName string) ([]model.User, error)

func (*UserService) SearchUsersByLastName added in v0.1.2

func (receiver *UserService) SearchUsersByLastName(firstName string) ([]model.User, error)

Directories

Path Synopsis
ext
v1
v2

Jump to

Keyboard shortcuts

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