settingsService

package
v0.0.0-...-d7b6ce4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValue

func GetValue(key string) string

Types

type SettingService

type SettingService struct{}

func (*SettingService) CreateSetting

func (settingService *SettingService) CreateSetting(data *models.Setting) error

func (*SettingService) GetAll

func (settingService *SettingService) GetAll() ([]models.Setting, error)

func (*SettingService) GetSettingByKey

func (settingService *SettingService) GetSettingByKey(settingKey string) (*models.Setting, error)

Jump to

Keyboard shortcuts

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