package
Version:
v0.0.0-...-d30b894
Opens a new window with list of versions in this module.
Published: Sep 15, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
Documentation
¶
func Assert(argName string, assertFunc func() bool)
Assert assert that the checkFunc should be passed, or the program will panic error.
func NotEmpty(argName, value string)
Assert assert the string length should not be empty
func NotNil(argName string, data interface{})
NotNil assert the data should not be nil
PanicErr if the error is not nil, panic the error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.