package
Version:
v0.0.0-...-b93a6bd
Opens a new window with list of versions in this module.
Published: Dec 17, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package format includes useful functions for creating error messages.
func Message(actual interface{}, message string, expected ...interface{}) string
Message returns a formatted error message.
func MessageWithDiff(actual, message, expected string) string
MessageWithDiff returns a formatted error message.
func Object(object interface{}, indentation uint) string
Object returns the object parameter as a formatted string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.