zlsgo

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 4 Imported by: 0

README

English | 简体中文

Build Status GoDoc flat codecov

Golang daily development common function library

Why Zara

  • Convenient for daily development

QuickStart

Install

$ go get github.com/sohaha/zlsgo

Usage

package main

import(
  "github.com/sohaha/zlsgo/zvar"
  "fmt
  )

func main()  {
  name := "hi"
  fmt.Println("This is a string",zvar.IsString(name))
}

LICENSE

MIT

Documentation

Overview

Package zls is golang daily development of some commonly used functions set

See http://docs.73zls.com/

gvar(Variable correlation) https://godoc.org/github.com/sohaha/zlsgo/gvar

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestUtil

type TestUtil struct {
	T *testing.T
}

TestUtil Test aid

func NewTest

func NewTest(t *testing.T) *TestUtil

NewTest testing object

func (*TestUtil) Equal

func (u *TestUtil) Equal(expected, actual interface{})

Equal Equal

func (*TestUtil) Log

func (u *TestUtil) Log(v ...interface{})

func (*TestUtil) PrintMyName

func (u *TestUtil) PrintMyName() string

PrintMyName PrintMyName

func (*TestUtil) Unequal

func (u *TestUtil) Unequal(expected, actual interface{})

Unequal Unequal

Directories

Path Synopsis
Package zarray 数组操作
Package zarray 数组操作
* @Author: seekwe * @Date: 2019-05-29 15:15:22 * @Last Modified by: seekwe * @Last Modified time: 2019-05-29 15:15:34
* @Author: seekwe * @Date: 2019-05-29 15:15:22 * @Last Modified by: seekwe * @Last Modified time: 2019-05-29 15:15:34
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 ztype provides Variable Type Related Operations
Package ztype provides Variable Type Related Operations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL