package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Aug 11, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
InsertPart inserts the given part object into the database.
Part is the db representation of an inventory part.
GetPart fetchdes an individual part from the db based on it's ID.
type TimeMetadata struct {
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
DeletedAt time.Time `db:"deleted_at"`
}
TimeMetadata is the common time metadata fields for all components.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.