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.6.0 (latest)
Published
Aug 23, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
3 days ago

Tools for package owners.