conference

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const PasswordLength = 7

Variables

This section is empty.

Functions

func RandomString

func RandomString(n int) string

Types

type Conference

type Conference interface {
	Create(context.Context, string, int, string) ([]model.Check, error)
	Delete(context.Context, string) error
	List(context.Context, string) ([]model.Check, error)
}

type SQL

type SQL struct {
	DB *gorm.DB
}

func NewSQL

func NewSQL(db *gorm.DB) *SQL

func (*SQL) Create

func (sql *SQL) Create(ctx context.Context, name string, count int, groupName string) ([]model.Check, error)

func (*SQL) Delete

func (sql *SQL) Delete(ctx context.Context, name string) error

func (*SQL) List

func (sql *SQL) List(ctx context.Context, name string) ([]model.Check, error)

Jump to

Keyboard shortcuts

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