types

package
v0.0.0-...-de8c022 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 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 DB

type DB interface {
	ReadComments(ctx context.Context, username string) ([]*model.Comment, error)
	CreateComment(ctx context.Context, input *model.CreateCommentInput) error
	UpdateComment(ctx context.Context, input *model.UpdateCommentInput) error
	DeleteComment(ctx context.Context, input *model.DeleteCommentInput) error
	UpsertLike(ctx context.Context, input *model.UpsertLikeInput) error
}

Jump to

Keyboard shortcuts

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