公共方法库

liuchangshun c28cf29933 123 hai 1 ano
.idea 82a26f5c72 first commit hai 1 ano
lxCommon c28cf29933 123 hai 1 ano
lxDb c28cf29933 123 hai 1 ano
lxUtil c28cf29933 123 hai 1 ano
lxcors 2937bf6579 xxx hai 1 ano
lxlog 2937bf6579 xxx hai 1 ano
lxrun c28cf29933 123 hai 1 ano
lxzap 2937bf6579 xxx hai 1 ano
README.md c28cf29933 123 hai 1 ano
go.mod c28cf29933 123 hai 1 ano
go.sum c28cf29933 123 hai 1 ano
lxutils.go 82a26f5c72 first commit hai 1 ano

README.md

Getting Started

Installing

To start using LxUtils, install Go and run go get:

$ go get -u git.listensoft.net/tool/lxutils

Get a value

Go.

package main

import (
	"fmt"
	"git.listensoft.net/tool/lxutils"
	"git.listensoft.net/tool/lxutils/lxrun"
	"git.listensoft.net/tool/lxutils/lxzap"
	"github.com/gin-gonic/gin"
)

func main() {
	lxutils.Aa()
	lxrun.Run("prod", "8989", func() {
		//可执行定时器等等
		fmt.Println("run cron、mq")
	}, router, lxzap.LogConfig{})
}
func router(router *gin.Engine) {

}