10 lines
No EOL
222 B
Go
10 lines
No EOL
222 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type Comment struct {
|
|
ID uint `gorm:"primaryKey" json:"id"`
|
|
PostID string `json:"post_id"`
|
|
Content string `json:"content"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
} |