test

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(data *Demotest) (int64, error)

func Del

func Del(id string) (int64, error)

func Update

func Update(id string, data *Demotest) (int64, error)

Types

type Demotest

type Demotest struct {
	Id         int64  `xorm:"id pk not null autoincr" name:"id" search:"true"`
	Country    string `json:"country" xorm:"varchar(255) not null" search:"true"`
	Zoom       string `json:"zoom" xorm:"varchar(255) not null"`
	Company    string `json:"company" xorm:"varchar(255) not null"`
	Items      string `json:"items" xorm:"varchar(255) not null"`
	Production string `json:"production" xorm:"varchar(255) not null"`
	Count      string `json:"count" xorm:"varchar(255) not null"`
	Serial     string `json:"serial" xorm:"varchar(255) not null" search:"true"`
	Extend     string `json:"extend" xorm:"varchar(255) not null"`
}

func (*Demotest) GetByString

func (d *Demotest) GetByString(key string) (string, error)

Jump to

Keyboard shortcuts

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