package xidb

import "github.com/rs/xid/b"

Index

Types

type ID

type ID struct {
	xid.ID
}

func (*ID) Scan

func (id *ID) Scan(value interface{}) (err error)

Scan implements the sql.Scanner interface.

func (ID) Value

func (id ID) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

Source Files

id.go

Version
v1.5.0
Published
Apr 12, 2023
Platform
linux/amd64
Imports
3 packages
Last checked
21 hours ago

Tools for package owners.