converter

package
v0.0.0-...-9eaf9d2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAudioResponse

func ToAudioResponse(ctx context.Context, audio service.Audio) (*entity.AudioResponse, error)

func ToIntValue

func ToIntValue(ctx context.Context, value int) *entity.IntValue

func ToProblemAddParameter

func ToProblemAddParameter(workbookID domain.WorkbookID, param *entity.ProblemAddParameter) (service.ProblemAddParameter, error)

func ToProblemResponse

func ToProblemResponse(ctx context.Context, problem domain.ProblemModel) (*entity.Problem, error)

func ToProblemWithLevelList

func ToProblemWithLevelList(ctx context.Context, problems []domain.StudyRecordWithProblemID) (*entity.StudyRecords, error)

func ToWorkbookHTTPEntity

func ToWorkbookHTTPEntity(workbook domain.WorkbookModel) (entity.WorkbookResponseHTTPEntity, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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