12 lines
304 B
Go
12 lines
304 B
Go
|
package link
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type Model struct {
|
||
|
ID int64 `json:"id" db:"id"`
|
||
|
Hash string `json:"hash" db:"hash"`
|
||
|
Operation string `json:"operation" db:"operation"`
|
||
|
TargetID string `json:"target_id" db:"target_id"`
|
||
|
CreatedAt time.Time `json:"created_at" db:"created_at"`
|
||
|
}
|