demo

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DemoDataSaveFindMysql

func DemoDataSaveFindMysql() int64

reqModel ==={"Id":null,"Rowid":"0","Vc":9090.22343,"Name":"leijmdas2021","T":" 21:37:2","Adate":"2021-08-04 21:37:23","Atimestamp":"2021-08-04 21:37:23","Adatetime":"2021-08-04 21:37:23"} InstTableName1Service tranJsonModel ==={"Id":null,"Rowid":"0","Vc":9090.22343,"Name":"leijmdas2021","T":" 21:37:2","Adate":"2021-08-04 21:37:23","Atimestamp":"2021-08-04 21:37:23","Adatetime":"2021-08-04 21:37:23"} InstTableName1Service Save==={"code":200,"message":"成功","count":0,"total":0,"data":"0"} InstTableName1Service FindById result==={"code":0,"message":"","count":1,"total":1,"data":{"Id":"48","Rowid":"0","Vc":9090.22,"Name":"leijmdas2021","T":"21:37:02","Adate":"2021-08-05 00:00:00","Atimestamp":"2021-08-05 05:37:23","Adatetime":"2021-08-05 05:37:23"}}

func DemoDataSaveFindPG

func DemoDataSaveFindPG() int64

reqModel ==={"Id":null,"Rowid":"0","Vc":9090.22343,"Name":"leijmdas2021","T":" 21:37:2","Adate":"2021-08-04 21:37:23","Atimestamp":"2021-08-04 21:37:23","Adatetime":"2021-08-04 21:37:23"} InstTableName1Service tranJsonModel ==={"Id":null,"Rowid":"0","Vc":9090.22343,"Name":"leijmdas2021","T":" 21:37:2","Adate":"2021-08-04 21:37:23","Atimestamp":"2021-08-04 21:37:23","Adatetime":"2021-08-04 21:37:23"} InstTableName1Service Save==={"code":200,"message":"成功","count":0,"total":0,"data":"0"} InstTableName1Service FindById result==={"code":0,"message":"","count":1,"total":1,"data":{"Id":"48","Rowid":"0","Vc":9090.22,"Name":"leijmdas2021","T":"21:37:02","Adate":"2021-08-05 00:00:00","Atimestamp":"2021-08-05 05:37:23","Adatetime":"2021-08-05 05:37:23"}}

func DemoGoRoutine

func DemoGoRoutine()

func FindQueryEmployee

func FindQueryEmployee()

func GinServer

func GinServer()

func HttpServer

func HttpServer()

Types

type User

type User struct {
	Name   string
	Habits []string
}

Jump to

Keyboard shortcuts

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