presenter

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Presenter

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

func New

func New(shortIDService shortid.Service) *Presenter

func (*Presenter) EncodeID

func (p *Presenter) EncodeID(id uuid.UUID) string

func (*Presenter) EncodeIDList

func (p *Presenter) EncodeIDList(ids []uuid.UUID) []string

func (*Presenter) ParseID

func (p *Presenter) ParseID(id string) (uuid.UUID, error)

func (*Presenter) ParseIDList

func (p *Presenter) ParseIDList(ids []string) ([]uuid.UUID, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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