Documentation
¶
Index ¶
- func BeInitializedPtr(val interface{}, errorStr string)
- func BeTrue(condition bool, errorStr string)
- func BeTypeKind(v interface{}, kind reflect.Kind, errorStr string)
- func TypeBeOfKind(v reflect.Type, kind reflect.Kind, errorStr string)
- func ValueBeOfTypeKind(v reflect.Value, kind reflect.Kind, errorStr string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeInitializedPtr ¶
func BeInitializedPtr(val interface{}, errorStr string)
BeInitializedPtr panics with errorStr if val interface is nil
func BeTypeKind ¶
BeTypeKind panics with errorStr error, if v interface is not of reflect kind
func TypeBeOfKind ¶
TypeBeOfKind panics with errorStr error, if v type is not of reflect kind
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.