package
module
Version:
v0.0.0-...-5aa40c9
Opens a new window with list of versions in this module.
Published: Oct 13, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
项目介绍
golang tools
之前在php常用的一些函数 go的实现 便于开发调试
函数列表
- Dump 来自 github.com/favframework/debug
- InArray
- PanicErr 这个是简化 if err!=nil panic(err)
Documentation
¶
*
- some useful functions from php
- php is the best language of the world!
Print to standard out the value that is passed as the argument with indentation.
Pointers are dereferenced.
func PanicErr(v interface{})
*
- short of if nil ,then panic
func Sdump(v interface{}) string
Return the value that is passed as the argument with indentation.
Pointers are dereferenced.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.