entity

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migration

type Migration struct {
	Version   string `db:"version"`
	ApplyTime int64  `db:"apply_time"`
}

func (Migration) ApplyTimeFormat

func (s Migration) ApplyTimeFormat() string

type Migrations

type Migrations []Migration

func (Migrations) Len

func (s Migrations) Len() int

func (Migrations) Less

func (s Migrations) Less(i, j int) bool

func (Migrations) SortByVersion

func (s Migrations) SortByVersion()

func (Migrations) Swap

func (s Migrations) Swap(i, j int)

Jump to

Keyboard shortcuts

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