Documentation
¶
Index ¶
Constants ¶
View Source
const ( DateShortLayout = "2006-01-02" DateFullLayout = "2006-01-02 15:04:05" TimeLocationName = "Asia/Chongqing" )
Variables ¶
This section is empty.
Functions ¶
func CurrentMethodName ¶
func CurrentMethodName() string
func GetTypeName ¶
GetTypeName returns a string representing the name of the object typ. if the name is defined then it is used, otherwise, the name is derived from the Stringer interface.
the stringer returns something like *somepkg.MyStruct, so skip the *somepkg and return MyStruct
func IsNotEmpty ¶
func IsNotEmpty(i interface{}) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.