Versions in this module Expand all Collapse all v2 v2.4.0 Nov 29, 2020 v2.3.1 May 1, 2020 v2.3.0 May 1, 2020 v2.2.5 Mar 21, 2020 v2.2.4 Mar 21, 2020 Changes in this version + const AcquisitionprovenanceModalityComputed v2.2.3 Oct 17, 2019 v2.2.2 Oct 17, 2019 Changes in this version + const AcquisitionprovenanceModalitySelfReported + const AcquisitionprovenanceModalitySensed + var XOLog = func(string, ...interface{}) + func New(host string, port uint, user string, password string, dbname string) (*sql.DB, error) + func OmhToSQL(src *omh.DataPoint, dst *Datapoint) error + func SQLToOmh(src *Datapoint, dst *omh.DataPoint) error + type AcquisitionprovenanceModality uint16 + func (am *AcquisitionprovenanceModality) Scan(src interface{}) error + func (am *AcquisitionprovenanceModality) UnmarshalText(text []byte) error + func (am AcquisitionprovenanceModality) MarshalText() ([]byte, error) + func (am AcquisitionprovenanceModality) String() string + func (am AcquisitionprovenanceModality) Value() (driver.Value, error) + type Datapoint struct + AcquisitionprovenanceModality AcquisitionprovenanceModality + AcquisitionprovenanceSourcecreationdatetime time.Time + AcquisitionprovenanceSourcename string + Additionalproperties JSON + Body JSON + Created time.Time + Effective time.Time + Modified time.Time + Oid string + Owner string + SchemaName string + SchemaNamespace string + SchemaVersionMajor int + SchemaVersionMinor int + SchemaVersionPatch int + Sk int64 + Timeoffset int + Timezone string + func DatapointByOidOwner(db XODB, oid string, owner string) (*Datapoint, error) + func DatapointBySk(db XODB, sk int64) (*Datapoint, error) + func (d *Datapoint) Delete(db XODB) error + func (d *Datapoint) Deleted() bool + func (d *Datapoint) Exists() bool + func (d *Datapoint) Insert(db XODB) error + func (d *Datapoint) Save(db XODB) error + func (d *Datapoint) Update(db XODB) error + func (d *Datapoint) Upsert(db XODB) error + type GooseDbVersion struct + ID int + IsApplied bool + Tstamp pq.NullTime + VersionID int64 + func GooseDbVersionByID(db XODB, id int) (*GooseDbVersion, error) + func (gdv *GooseDbVersion) Delete(db XODB) error + func (gdv *GooseDbVersion) Deleted() bool + func (gdv *GooseDbVersion) Exists() bool + func (gdv *GooseDbVersion) Insert(db XODB) error + func (gdv *GooseDbVersion) Save(db XODB) error + func (gdv *GooseDbVersion) Update(db XODB) error + func (gdv *GooseDbVersion) Upsert(db XODB) error + type JSON string + type ScannerValuer interface + type Slice []ScannerValuer + type StringSlice []string + func (ss *StringSlice) Scan(src interface{}) error + func (ss StringSlice) Value() (driver.Value, error) + type XODB interface + Exec func(string, ...interface{}) (sql.Result, error) + Query func(string, ...interface{}) (*sql.Rows, error) + QueryRow func(string, ...interface{}) *sql.Row Other modules containing this package bitbucket.org/corporesano/gomhdsu