segment

package
v0.0.0-...-2ebd334 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSegmentNotFound = errors.New("segment not found")
	ErrSegmentIsFound  = errors.New("segment is found")
)

Functions

This section is empty.

Types

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func NewRepo

func NewRepo(db *sqlx.DB) *Repo

func (*Repo) CreateSegment

func (r *Repo) CreateSegment(ctx context.Context, segmentName string) error

func (*Repo) DeleteSegment

func (r *Repo) DeleteSegment(ctx context.Context, segmentName string) error

Jump to

Keyboard shortcuts

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