feat: initial commit
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type EntryEntity struct {
|
||||
gorm.Model
|
||||
Message string
|
||||
Timestamp string
|
||||
}
|
||||
|
||||
func (EntryEntity) TableName() string {
|
||||
return "entries"
|
||||
}
|
||||
Reference in New Issue
Block a user