repositorytest

package
v0.0.0-...-ff2bd9c Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

We create this empty file as the workaround for this bug: https://github.com/golang/go/issues/27333

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImmutableTestModel

type ImmutableTestModel struct {
	ID        uuid.UUID `json:"id" gorm:"primaryKey,not null"`
	Text      string    `json:"address" gorm:"not null"`
	CreatedBy uuid.UUID `json:"created_by" gorm:"not null"`
	CreatedAt time.Time `json:"created_at" gorm:"not null"`
}

ImmutableTestModel represents address object

type TestModel

type TestModel struct {
	ID        uuid.UUID  `json:"id" gorm:"primaryKey,not null"`
	Text      string     `json:"address" gorm:"not null"`
	CreatedBy uuid.UUID  `json:"created_by" gorm:"not null"`
	CreatedAt time.Time  `json:"created_at" gorm:"not null"`
	UpdatedAt time.Time  `json:"updated_at" gorm:"not null"`
	UpdatedBy uuid.UUID  `json:"updated_by" gorm:"not null"`
	DeletedAt *time.Time `json:"deleted_at"`
	DeletedBy *uuid.UUID `json:"deleted_by"`
}

TestModel represents address object

Jump to

Keyboard shortcuts

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