Versions in this module Expand all Collapse all v1 v1.0.1 Apr 4, 2025 v1.0.0 Nov 21, 2024 Changes in this version + var ErrNotFound = errors.New("project not found") + type FSProjects struct + func NewFSProjects(sourcePath string) (*FSProjects, error) + func (p *FSProjects) Get(slug string) (Project, error) + func (p *FSProjects) List() []Project + func (p *FSProjects) NeedReload() bool + func (p *FSProjects) Reload() error + func (p *FSProjects) TryReload() + type Project struct + Description string + Name string + Slug []string + URL string + type Provider interface + Get func(slug string) (Project, error) + List func() []Project + type StaticProjects struct + func NewStaticProjects(rawData []byte) (*StaticProjects, error) + func (p *StaticProjects) Get(slug string) (Project, error) + func (p *StaticProjects) List() []Project