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 provides array operations
|
Package zarray provides array operations |
Package zcache cache operation
|
Package zcache cache operation |
Package zcli quickly build cli applications
|
Package zcli quickly build cli applications |
Package zfile file and path operations in daily development
|
Package zfile file and path operations in daily development |
Package zhttp provides http client related operations
|
Package zhttp provides http client related operations |
Package zjson json data read and write operations
|
Package zjson json data read and write operations |
Package zlog provide daily log service
|
Package zlog provide daily log service |
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 zshell use a simple way to execute shell commands
|
Package zshell use a simple way to execute shell commands |
Package zstring provides String related operations
|
Package zstring provides String related operations |
Package ztime provides time related operations
|
Package ztime provides time related operations |
cron
Package cron emulate linux crontab
|
Package cron emulate linux crontab |
Package ztype provides Variable Type Related Operations
|
Package ztype provides Variable Type Related Operations |
Package zutil daily development helper functions
|
Package zutil daily development helper functions |
daemon
Package daemon program is installed as a system service to achieve process daemon * @Author: seekwe * @Date: 2020-06-06 17:03:53 * @Last Modified by:: seekwe * @Last Modified time: 2020-06-09 16:39:23
|
Package daemon program is installed as a system service to achieve process daemon * @Author: seekwe * @Date: 2020-06-06 17:03:53 * @Last Modified by:: seekwe * @Last Modified time: 2020-06-09 16:39:23 |
Package zvalid data verification
|
Package zvalid data verification |
Click to show internal directories.
Click to hide internal directories.