公共方法库

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

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) {

}