Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UrlRepositoryPostgres ¶
type UrlRepositoryPostgres struct {
// contains filtered or unexported fields
}
func NewUrlRepositoryPostgres ¶
func NewUrlRepositoryPostgres() *UrlRepositoryPostgres
func (UrlRepositoryPostgres) Get ¶
func (up UrlRepositoryPostgres) Get(h string) (repository.ShortUrl, error)
func (UrlRepositoryPostgres) Save ¶
func (up UrlRepositoryPostgres) Save(s repository.ShortUrl) error
Click to show internal directories.
Click to hide internal directories.