tests

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadAutoInc added in v0.1.0

type BadAutoInc struct {
	ID string `db:"autoincrement"`
}

type BadTime added in v0.1.0

type BadTime struct {
	CreatedAt time.Time
}

type Order added in v0.1.0

type Order struct {
	ID     string `db:"pk"`
	UserID int    `db:"ref=users:id"`
	Total  float64
}

type Unsupp added in v0.1.0

type Unsupp struct {
	Ch chan int
}

type User

type User struct {
	ID        int    `db:"pk"`
	FirstName string `db:"not_null"`
	LastName  string
	Email     string `db:"unique"`
	Score     float64
	IsActive  bool
	Avatar    []byte
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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