Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSpaces ¶ added in v0.9.5
// https://stackoverflow.com/questions/7052693/how-to-get-the-name-of-a-function-in-go
func GetFunctionName(temp interface{}) string {
strs := strings.Split((runtime.FuncForPC(reflect.ValueOf(temp).Pointer()).Name()), ".")
return strs[len(strs)-1]
}
https://stackoverflow.com/questions/32081808/strip-all-whitespace-from-a-string
func NewReadCloser ¶ added in v0.9.5
func NewReadCloser(r io.Reader, closure func() error) io.ReadCloser
func StringInSlice ¶
Types ¶
type NopWriteCloser ¶ added in v0.9.5
func (NopWriteCloser) Close ¶ added in v0.9.5
func (NopWriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.