dbshare

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QueryFields = `` /* 247-byte string literal not displayed */

Functions

func DBURL

func DBURL(cnf config.Config) string

func DataSources

func DataSources(db *sql.DB, ids ...int) ([]*vlib.DataSource, error)

func DataSourcesMap

func DataSourcesMap(db *sql.DB) map[int]*vlib.DataSource

func ProcessAuthorship

func ProcessAuthorship(au *parsed.Authorship) ([]string, int)

ProcessAuthorship converts year to int and provides authors as a slice.

Types

type VerifSQL

type VerifSQL struct {
	CanonicalID         sql.NullString
	Canonical           sql.NullString
	CanonicalFull       sql.NullString
	Name                sql.NullString
	Cardinality         int
	RecordID            sql.NullString
	NameStringID        sql.NullString
	DataSourceID        int
	LocalID             sql.NullString
	OutlinkID           sql.NullString
	AcceptedRecordID    sql.NullString
	AcceptedNameID      sql.NullString
	AcceptedName        sql.NullString
	Classification      sql.NullString
	ClassificationRanks sql.NullString
	ClassificationIds   sql.NullString
	ParseQuality        int
}

MatchRecords connects result data to input name-string. Input name-string is a key.

Jump to

Keyboard shortcuts

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