right type used
This commit is contained in:
+11
-11
@@ -10,20 +10,20 @@
|
||||
package descr
|
||||
|
||||
import (
|
||||
"mstore/pkg/auxuuid"
|
||||
"mstore/pkg/uuid"
|
||||
)
|
||||
|
||||
type Manifest struct {
|
||||
ID auxuuid.UUID `db:"id" json:"id"`
|
||||
Name string `db:"name" json:"name"`
|
||||
Reference string `db:"reference" json:"reference"`
|
||||
ContentType string `db:"contentType" json:"contentType"`
|
||||
Payload string `db:"payload" json:"-"`
|
||||
Digest string `db:"digest" json:"digest"`
|
||||
CreatedAt string `db:"created_at" json:"createdAt"`
|
||||
UpdatedAt string `db:"updated_at" json:"updatedAt"`
|
||||
CreatedBy auxuuid.UUID `db:"created_by" json:"createdBy,omitempty"`
|
||||
UpdatedBy auxuuid.UUID `db:"updated_by" json:"updatedBy,omitempty"`
|
||||
ID uuid.UUID `db:"id" json:"id"`
|
||||
Name string `db:"name" json:"name"`
|
||||
Reference string `db:"reference" json:"reference"`
|
||||
ContentType string `db:"contentType" json:"contentType"`
|
||||
Payload string `db:"payload" json:"-"`
|
||||
Digest string `db:"digest" json:"digest"`
|
||||
CreatedAt string `db:"created_at" json:"createdAt"`
|
||||
UpdatedAt string `db:"updated_at" json:"updatedAt"`
|
||||
CreatedBy uuid.UUID `db:"created_by" json:"createdBy,omitempty"`
|
||||
UpdatedBy uuid.UUID `db:"updated_by" json:"updatedBy,omitempty"`
|
||||
}
|
||||
|
||||
type Tags struct {
|
||||
|
||||
Reference in New Issue
Block a user