option

package
v0.0.0-...-cd133ac Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionInterface

type OptionInterface interface {
	Create(newOption []entities.Option) (int64, error)
}

type OptionRepository

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

func NewOptionsRepo

func NewOptionsRepo(db *gorm.DB) *OptionRepository

func (*OptionRepository) Create

func (op *OptionRepository) Create(newOption []entities.Option) (int64, error)

Jump to

Keyboard shortcuts

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