Documentation ¶
Overview ¶
Package zlsgo is golang daily development of some commonly used functions set
znet(Web development) https://godoc.org/github.com/sohaha/zlsgo/znet
ztype(Type correlation) https://godoc.org/github.com/sohaha/zlsgo/ztype
Index ¶
- type TestUtil
- func (u *TestUtil) Equal(expected, actual interface{})
- func (u *TestUtil) EqualExit(expected, actual interface{})
- func (u *TestUtil) EqualNil(actual interface{})
- func (u *TestUtil) EqualTrue(actual interface{})
- func (u *TestUtil) Fatal(v ...interface{})
- func (u *TestUtil) GetCallerInfo() string
- func (u *TestUtil) Log(v ...interface{})
- func (u *TestUtil) PrintMyName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestUtil ¶
TestUtil Test aid
func (*TestUtil) EqualExit ¶ added in v0.0.19
func (u *TestUtil) EqualExit(expected, actual interface{})
EqualExit EqualExit
func (*TestUtil) EqualNil ¶ added in v0.0.21
func (u *TestUtil) EqualNil(actual interface{})
EqualNil EqualNil
func (*TestUtil) EqualTrue ¶ added in v0.0.21
func (u *TestUtil) EqualTrue(actual interface{})
EqualTrue EqualTrue
func (*TestUtil) GetCallerInfo ¶ added in v0.0.19
GetCallerInfo GetCallerInfo
Directories ¶
Path | Synopsis |
---|---|
Package zarray 数组操作
|
Package zarray 数组操作 |
Package zhttp provides http client related operations
|
Package zhttp provides http client related operations |
Package zweb provides web service package main import ( "github.com/sohaha/zlsgo/znet" ) func main(){ r := znet.New() r.SetMode(znet.DebugMode) r.GET("/", func(c znet.Context) { c.String(200, "hello world") }) znet.Run() }
|
Package zweb provides web service package main import ( "github.com/sohaha/zlsgo/znet" ) func main(){ r := znet.New() r.SetMode(znet.DebugMode) r.GET("/", func(c znet.Context) { c.String(200, "hello world") }) znet.Run() } |
Package zpprof provides a register for zweb framework to use net/http/pprof easily.
|
Package zpprof provides a register for zweb framework to use net/http/pprof easily. |
Package zstring provides String related operations
|
Package zstring provides String related operations |
Package ztime provides time related operations
|
Package ztime provides time related operations |
Package ztype provides Variable Type Related Operations
|
Package ztype provides Variable Type Related Operations |
Click to show internal directories.
Click to hide internal directories.