Documentation
¶
Index ¶
- type Config
- type Source
- func (s Source) ChangesSince(ctx context.Context, revision string) (iter.Seq[Update], string, func() error)
- func (s Source) Get(ctx context.Context, path, revision string) (string, error)
- func (s Source) Suggest(ctx context.Context, path, revision, content string) (string, error)
- func (s Source) URL() string
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Sources []Source `yaml:"sources" validate:"required,dive"`
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.