package
0.0.0-20250227233008-6305ea83e4e1
Repository: https://github.com/bhatti/api-mock-service.git
Documentation: pkg.go.dev
# Functions
FromYAMLComment converts YAML comments back to regular multiline text by removing the "# " prefix from each line.
MatchScenarioPredicate checks if predicate match.
NopCloser returns a ReadCloser with a no-op Close method wrapping the provided Reader r.
ReadAll helper method.
ToYAMLComment converts a multiline string to YAML comment style by prefixing each line with "# ".
# Interfaces
ResetReader is the interface for resetting reader.