model

package
v0.0.0-...-9391566 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Form

type Form struct {
	Name                string
	Email               string
	Phone               string
	Plan                string
	Period              string
	OnlineService       bool
	LargerStorage       bool
	CustomizableProfile bool
}

type Model

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

func New

func New(log *slog.Logger, conf *configs.DBConfig) (*Model, error)

func (*Model) AddForm

func (m *Model) AddForm(ctx context.Context, input Form) error

Jump to

Keyboard shortcuts

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