cli

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

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

func New

func New(pgSqlSocket string) (c *CLI, err error)

func (*CLI) Login

func (c *CLI) Login() string

func (*CLI) Registration

func (c *CLI) Registration(login string) (customer bt.Customer)

func (*CLI) Run

func (c *CLI) Run() (err error)

type Model

type Model bt.Model

func (Model) String

func (model Model) String() (s string)

type Models

type Models map[uint]bt.Model

func (Models) String

func (models Models) String() (s string)

type OrderItems

type OrderItems []bt.OrderItem

func (OrderItems) String

func (orderItems OrderItems) String() (s string)

Directories

Path Synopsis
Пакет userinput предоставляет функции для внутренней обработки пользовательского ввода
Пакет userinput предоставляет функции для внутренней обработки пользовательского ввода

Jump to

Keyboard shortcuts

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