Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateShapeParams ¶
type CreateShapeParams struct { ShapeID string `db:"shape_id"` ShapePtLat sql.NullString `db:"shape_pt_lat"` ShapePtLon sql.NullString `db:"shape_pt_lon"` ShapePtSequence sql.NullInt32 `db:"shape_pt_sequence"` ShapeDistTraveled sql.NullString `db:"shape_dist_traveled"` }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateShape ¶
func (q *Queries) CreateShape(ctx context.Context, arg CreateShapeParams) error
func (*Queries) GetShapeByID ¶
type Shape ¶
type Shape struct { ID int32 `csv:"id"` ShapeID string `csv:"shape_id"` ShapePtLat sql.NullString `csv:"shape_pt_lat,omitempty"` ShapePtLon sql.NullString `csv:"shape_pt_lon,omitempty"` ShapePtSequence sql.NullInt32 `csv:"shape_pt_sequence,omitempty"` ShapeDistTraveled sql.NullString `csv:"shape_dist_traveled,omitempty"` }
Click to show internal directories.
Click to hide internal directories.