ldb

package
v0.0.0-...-508bb99 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() (*sql.DB, error)

Connect run dsn from env file and start

Types

type ResultSet

type ResultSet interface {
	AllMoored(idPortinformer string) []map[string]string
	AllAnchored(idPortinformer string) []map[string]string
	AllArrivalPrevisions(idPortinformer string) []map[string]string
	GetTodayArrivals(idPortinformer string) []map[string]string
}

ResultSet query container

func NewConnection

func NewConnection(db *sql.DB) ResultSet

NewConnection is the connection starter

Jump to

Keyboard shortcuts

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