Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2018 Changes in this version + func MustRead(path string, vars map[string]string) []byte + func Read(path string, vars map[string]string) ([]byte, error) + type Matcher struct + func MustMatcher(m *Matcher, err error) *Matcher + func NewJSONMatcher(data []byte, vars map[string]string) (*Matcher, error) + func NewJSONMatcherFromFile(path string, vars map[string]string) (*Matcher, error) + func NewMatcher(data []byte, vars map[string]string, parser matcher.Parser) (*Matcher, error) + func NewMatcherFromFile(path string, vars map[string]string, parser matcher.Parser) (*Matcher, error) + func (m *Matcher) FailureMessage(actual interface{}) string + func (m *Matcher) Match(actual interface{}) (bool, error) + func (m *Matcher) NegatedFailureMessage(actual interface{}) string + type MultipartReader struct + func MustReader(r *MultipartReader, err error) *MultipartReader + func NewMultipartReader(data []byte, vars map[string]string, parser matcher.Parser) (*MultipartReader, error) + func NewMultipartReaderFromFile(path string, vars map[string]string, parser matcher.Parser) (*MultipartReader, error) + func (r *MultipartReader) GetData(key string) []byte + func (r *MultipartReader) GetMatcher(key string) (*Matcher, error) + func (r *MultipartReader) MustGetMatcher(key string) *Matcher + func (r *MultipartReader) UpdateVars(vars map[string]string) error Other modules containing this package github.com/mina-akimi/gosert/v2