simplestore

package
v0.0.0-...-02df9db Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 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 Store

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

func New

func New() *Store

func (*Store) GetUrls

func (s *Store) GetUrls() store.UrlRepository

type UrlRepository

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

func (*UrlRepository) Create

func (r *UrlRepository) Create(url *model.Url) error

func (*UrlRepository) FindByShort

func (r *UrlRepository) FindByShort(shortUrl string) (string, error)

Jump to

Keyboard shortcuts

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