Versions in this module Expand all Collapse all v0 v0.3.0 Mar 5, 2025 Changes in this version + var ErrVersionExists = errors.New("version already exists") + var ErrVersionNotFound = errors.New("version not found") + type Changelog struct + Versions []*VersionEntry + type ChangelogContent struct + Added []string + Changed []string + Deprecated []string + Fixed []string + Removed []string + Security []string + type Service struct + func NewService(cfg *config.Config) *Service + func (s *Service) AddEntry(version string, date string, content *ChangelogContent) error + func (s *Service) GetAll() (*Changelog, error) + func (s *Service) GetByVersion(version string) (*VersionEntry, error) + func (s *Service) UpdateEntry(version string, date string, content *ChangelogContent) error + type VersionEntry struct + Content *ChangelogContent + Date string + Version string