testkit

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestModelTableName = "gorm_cache_model"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TestModel

type TestModel struct {
	ID        int64  `gorm:"column:id;primary_key"`
	Value1    int64  `gorm:"column:value1"`
	Value2    int64  `gorm:"column:value2"`
	Value3    int64  `gorm:"column:value3"`
	Value4    int64  `gorm:"column:value4"`
	Value5    int64  `gorm:"column:value5"`
	Value6    int64  `gorm:"column:value6"`
	Value7    int64  `gorm:"column:value7"`
	Value8    int64  `gorm:"column:value8"`
	PtrValue1 *int64 `gorm:"column:ptr_value1"`
}

func (*TestModel) TableName

func (m *TestModel) TableName() string

Jump to

Keyboard shortcuts

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