Help us shape the future of Go! Take the 2026 Go Developer Survey

userinvitationmodel

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInvitationModel

type UserInvitationModel struct {
	DB *domain.DB
	// contains filtered or unexported fields
}

UserInvitationModel represents the model for settings

func (*UserInvitationModel) Create

func (m *UserInvitationModel) Create(email string) error

Create adds an invitiation to the table

func (*UserInvitationModel) Delete

func (m *UserInvitationModel) Delete(email string) error

Delete removes an invitiation from the table

func (*UserInvitationModel) Get

Get is used to know if an email is invited

func (*UserInvitationModel) GetAll

GetAll returns all invitations

func (*UserInvitationModel) PrepareStatements

func (m *UserInvitationModel) PrepareStatements()

PrepareStatements prepares the statements

Jump to

Keyboard shortcuts

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