implementations

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlocksPostgresRepository

type BlocksPostgresRepository struct {
	Connection *sql.DB
}

func GetBlocksPostgresRepositoryInstance

func GetBlocksPostgresRepositoryInstance() *BlocksPostgresRepository

func (*BlocksPostgresRepository) DoesTeacherOwnsMarkdownBlock

func (repository *BlocksPostgresRepository) DoesTeacherOwnsMarkdownBlock(teacherUUID string, blockUUID string) (bool, error)

func (*BlocksPostgresRepository) UpdateMarkdownBlockContent

func (repository *BlocksPostgresRepository) UpdateMarkdownBlockContent(blockUUID string, content string) (err error)

Jump to

Keyboard shortcuts

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