Versions in this module Expand all Collapse all v0 v0.0.2 Jan 7, 2023 v0.0.1 Jan 7, 2023 Changes in this version + type InMemoryUrlStore struct + func NewInMemoryUrlStore() *InMemoryUrlStore + func (s *InMemoryUrlStore) GetById(id int) (string, error) + func (s *InMemoryUrlStore) Store(url string) (int, error) + type SqliteUrlStore struct + func NewSqliteUrlStore(path string) (*SqliteUrlStore, error) + func (s *SqliteUrlStore) GetById(id int) (string, error) + func (s *SqliteUrlStore) Store(url string) (int, error)