xorm: xorm.io/xorm/convert Index | Files

package convert

import "xorm.io/xorm/convert"

Index

Package Files

conversion.go

type Conversion Uses

type Conversion interface {
    FromDB([]byte) error
    ToDB() ([]byte, error)
}

Conversion is an interface. A type implements Conversion will according the custom method to fill into database and retrieve from database.

Package convert is imported by 9 packages. Updated 2020-07-22. Refresh now. Tools for package owners.