hook

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomModel added in v1.3.0

type CustomModel interface {
	// CustomID set and get field name and value
	CustomID() (string, any)
	// CustomCreatedAt set and get field name and value
	CustomCreatedAt() (string, any)
	// CustomUpdatedAt set and get field name and value
	CustomUpdatedAt() (string, any)
}

type DefaultModel added in v1.3.0

type DefaultModel interface {
	// DefaultId set and get
	DefaultId() primitive.ObjectID
	// DefaultCreatedAt set and get
	DefaultCreatedAt() time.Time
	// DefaultUpdatedAt set and get
	DefaultUpdatedAt() time.Time
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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