Skip to content

What struct types -> db types does this support? #12

Description

@rustysys-dev

Is there a listing of type support for this library?
I am currently using a struct like this, and was wondering if structable would automatically transform the *timestamp.Timestamp into a postgresql DATE type.

type PgData struct {
	TenantID  string 
	AssetID   string 
	JobID     string 
	FormatID  string
	Status    status
	StartTime *timestamp.Timestamp
	EndTime   *timestamp.Timestamp
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions