procedures

package
v0.0.0-...-027bcc8 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(allowedEmails []string, db *gorm.DB, s domain.Services) domain.Procedures

Types

type Meeting

type Meeting struct{}

func (*Meeting) CopyGoals

func (m *Meeting) CopyGoals(meeting *domain.Meeting, user *domain.User, goalIDs []uint) error

func (*Meeting) HasPendingReview

func (u *Meeting) HasPendingReview(meeting *domain.Meeting, user *domain.User) (bool, error)

type User

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

func (*User) CanAccessGroup

func (u *User) CanAccessGroup(user *domain.User, groupID string) (*domain.Group, error)

func (*User) FetchWithGroups

func (u *User) FetchWithGroups(id uint, user *domain.User) error

func (*User) HandleCallback

func (u *User) HandleCallback(data *domain.AuthData) (*domain.User, error)

Jump to

Keyboard shortcuts

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