Versions in this module Expand all Collapse all v0 v0.24.0 Aug 30, 2025 Changes in this version + const ErrLoader + func JSONDoc(path string, opts ...Option) (json.RawMessage, error) + func JSONMatcher(path string) bool + func LoadFromFileOrHTTP(pth string, opts ...Option) ([]byte, error) + func LoadStrategy(pth string, local, remote func(string) ([]byte, error), opts ...Option) func(string) ([]byte, error) + func YAMLData(path string, opts ...Option) (interface{}, error) + func YAMLDoc(path string, opts ...Option) (json.RawMessage, error) + func YAMLMatcher(path string) bool + type Option func(*options) + func WithBasicAuth(username, password string) Option + func WithCustomHeaders(headers map[string]string) Option + func WithFS(filesystem fs.FS) Option + func WithHTTPClient(client *http.Client) Option + func WithTimeout(timeout time.Duration) Option