model

package
v0.0.0-...-78dbd8a Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accounts

type Accounts struct {
	ID         int64 `sql:"primary_key"`
	Name       string
	Email      string
	Active     bool
	FavColor   *Colors
	FavNumbers *string
	Properties *string
	CreatedAt  time.Time
}

type Colors

type Colors string
const (
	Colors_Red   Colors = "red"
	Colors_Green Colors = "green"
	Colors_Blue  Colors = "blue"
)

func (*Colors) Scan

func (e *Colors) Scan(value interface{}) error

func (Colors) String

func (e Colors) String() string

Jump to

Keyboard shortcuts

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