mysql

package
v0.0.0-...-aa156bd Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePostInput

type CreatePostInput struct {
	ContentKey string
	Post       *entity.Post
}

type PostMySQLPersistent

type PostMySQLPersistent interface {
	CreatePost(ctx context.Context, input *CreatePostInput) (*entity.Post, error)
}

func NewPostMySQLPersistent

func NewPostMySQLPersistent(db *sqlx.DB) PostMySQLPersistent

Jump to

Keyboard shortcuts

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