mapper

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 5 Imported by: 0

README

处理实体存储的类 == iBatis Mapper

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocialUserMapper

type SocialUserMapper struct {
}

func (*SocialUserMapper) AsDomain

func (*SocialUserMapper) AsDomain(src *dto.User) (dst *domain.SocialUser)

func (*SocialUserMapper) AsDomainArray

func (*SocialUserMapper) AsDomainArray(src []dto.User) (dst []domain.SocialUser)

func (*SocialUserMapper) AsDto

func (*SocialUserMapper) AsDto(src *domain.SocialUser) (dst *dto.User)

func (*SocialUserMapper) AsDtoArray

func (*SocialUserMapper) AsDtoArray(src []domain.SocialUser) (dst []dto.User)

type UserMapper

type UserMapper struct {
}

func (*UserMapper) AsDomain

func (*UserMapper) AsDomain(src *dto.User) (dst *domain.User)

func (*UserMapper) AsDomainArray

func (*UserMapper) AsDomainArray(src []dto.User) (dst []domain.User)

func (*UserMapper) AsDto

func (*UserMapper) AsDto(src *domain.User) (dst *dto.User)

func (*UserMapper) AsDtoArray

func (*UserMapper) AsDtoArray(src []domain.User) (dst []dto.User)

Jump to

Keyboard shortcuts

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