model

package
v0.0.0-...-8119062 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 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 Article

type Article struct {
	ID      int
	Title   string
	Content string
	Created Time
	Updated Time
}

type Time

type Time struct {
	T time.Time
}

func (*Time) Scan

func (t *Time) Scan(src any) error

Scan satisfies sql.Scanner interface.

func (*Time) Value

func (t *Time) Value() (driver.Value, error)

Value satisfies driver.Valuer interface.

Jump to

Keyboard shortcuts

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