usecases

package
v0.0.0-...-6f2b15d Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 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 UComment

type UComment struct {
	CreatedAt *time.Time
	Id        *int64
	Text      string
	UpdatedAt *time.Time
}

func FromCommentEntity

func FromCommentEntity(comment entities.CommentEntity) UComment

func (UComment) ToCommentEntity

func (uComment UComment) ToCommentEntity() entities.CommentEntity

type UGetCommentsParams

type UGetCommentsParams struct {
	Query     *string
	Year      *string
	Yearmonth *string
}

func FromGetCommentsParamsEntity

func FromGetCommentsParamsEntity(getCommentsParams entities.GetCommentsParamsEntity) UGetCommentsParams

func (UGetCommentsParams) ToGetCommentsParamsEntity

func (uGetCommentsParams UGetCommentsParams) ToGetCommentsParamsEntity() entities.GetCommentsParamsEntity

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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