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.3.0
Published
Oct 19, 2020
Platform
linux/amd64
Imports
3 packages
Last checked
17 hours ago

Tools for package owners.