21 lines
296 B
Go
21 lines
296 B
Go
package common
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type PostResult struct {
|
|
Id uuid.UUID
|
|
UserId uuid.UUID
|
|
Title string
|
|
Description string
|
|
Content string
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|
|
|
|
type PostResultList struct {
|
|
Result []*PostResult
|
|
}
|