setting

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, db *gorm.DB) (model.UserSetting, error)

Get returns the settings

Types

type ResolverForSettings

type ResolverForSettings struct {
	DB *gorm.DB
}

ResolverForSettings resolves setting specific things.

func (*ResolverForSettings) SetUserSettings

SetUserSettings sets the user settings.

func (*ResolverForSettings) UserSettings

func (r *ResolverForSettings) UserSettings(ctx context.Context) (*gqlmodel.UserSettings, error)

UserSettings returns the user settings.

Jump to

Keyboard shortcuts

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