Documentation ¶
Index ¶
- func FormatDateTime(ts time.Time) string
- func FormatDateTimePointer(ts *time.Time) *string
- func NewHealth() health.Service
- func NewImports(db *sql.DB, pub *subscription.Publication) apiimports.Service
- func NewSubscriptions(db *sql.DB, pub *subscription.Publication) apisubscriptions.Service
- func NewTables(db *sql.DB, pub *subscription.Publication) tables.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDateTime ¶
FormatDateTime generates an RFC3339 string of the given timestamp, or an empty string if the time is zero.
func FormatDateTimePointer ¶
FormatDateTimePointer generates an RFC3339 string of the given timestamp, or nil if it was empty/nil.
func NewImports ¶
func NewImports(db *sql.DB, pub *subscription.Publication) apiimports.Service
func NewSubscriptions ¶
func NewSubscriptions(db *sql.DB, pub *subscription.Publication) apisubscriptions.Service
func NewTables ¶
func NewTables(db *sql.DB, pub *subscription.Publication) tables.Service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.