Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(db *sql.Client) repositories.ProjectRepository
Types ¶
type EncryptionPart ¶
type EncryptionPart struct { ID string `gorm:"column:id;primaryKey"` ProjectID string `gorm:"column:project_id"` Part string `gorm:"column:part"` }
func (EncryptionPart) TableName ¶
func (EncryptionPart) TableName() string
type Migration ¶ added in v0.1.12
type Project ¶
type Project struct { ID string `gorm:"column:id;primaryKey"` Name string `gorm:"column:name"` APIKey string `gorm:"column:api_key"` APISecret string `gorm:"column:api_secret"` CreatedAt time.Time `gorm:"column:created_at;autoCreateTime"` UpdatedAt time.Time `gorm:"column:updated_at;autoUpdateTime"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at"` }
Click to show internal directories.
Click to hide internal directories.