package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Dec 29, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func MustString(v interface{}) string
MustString convert value(basic type) to string, will panic on convert a complex type.
PanicIf if error is not empty
func PanicIfErr(err error)
PanicIfErr if error is not empty
func Panicf(format string, v ...interface{})
Panicf format panic message use fmt.Sprintf
func ToString(v interface{}) string
ToString always convert value to string
TryString try to convert a value to string
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.