Documentation
¶
Index ¶
- Variables
- func ExpectMultiLineString(expected, actual string) error
- func FindStructFieldByName(s *types.Struct, name string) code.StructField
- func NewLineMismatchedError(lineNumber int, expected, received string) error
- func NewMissingLinesError(missingLines []string) error
- func NewUnexpectedLinesError(unexpectedLines []string) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ExpectMultiLineString ¶
ExpectMultiLineString compares two multi-line strings and report the difference.
func FindStructFieldByName ¶ added in v0.4.0
func FindStructFieldByName(s *types.Struct, name string) code.StructField
func NewLineMismatchedError ¶ added in v0.3.0
NewLineMismatchedError is a constructor for lineMismatchedError.
func NewMissingLinesError ¶ added in v0.3.0
NewMissingLinesError is a constructor for missingLinesError.
func NewUnexpectedLinesError ¶ added in v0.3.0
NewUnexpectedLinesError is a constructor for unexpectedLinesError.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.