gentest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID        int64           `db:"column:id;primaryKey;autoIncrement"`
	Name      string          `db:"column:name"`     // Name of the user
	Avatar    []byte          `db:"column:avatar"`   // User avatar image
	Settings  json.RawMessage `db:"column:settings"` // User settings JSON
	CreatedAt time.Time       `db:"column:created_at"`
}

User represents a user in the system. It has various field types to test the generator.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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