Versions in this module Expand all Collapse all v1 v1.0.1 Oct 28, 2026 v1.0.0 Oct 26, 2026 Changes in this version + type CreateInput struct + Name string + type Document struct + FileName string + ID int + Name string + type Handlers struct + func NewHandlers(svc *Service) *Handlers + func (h *Handlers) Register(g *echo.Group, guards web.Guards) + type Public struct + FileURL string + ID int + Name string + type Service struct + func NewService(store store, files *upload.Files) *Service + func (s *Service) Create(ctx context.Context, in CreateInput, file *upload.File) (Public, error) + func (s *Service) Delete(ctx context.Context, id int) (Public, error) + func (s *Service) List(ctx context.Context) ([]Public, error) + type Store struct + func NewDocumentRepo(db *sqlx.DB) *Store + func (s *Store) AddDocument(ctx context.Context, documentParam Document) (Document, error) + func (s *Store) DeleteDocument(ctx context.Context, documentParam Document) error + func (s *Store) GetDocument(ctx context.Context, documentParam Document) (Document, error) + func (s *Store) GetDocuments(ctx context.Context) ([]Document, error)