Inserted web templates, readme, license. Updated logo and favicon
This commit is contained in:
@@ -11,12 +11,14 @@ import (
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// TextTemplate is the persistent object within Postgres
|
||||
type TextTemplate struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
TemplateStr string
|
||||
}
|
||||
|
||||
// TextTemplateJson is the temporary object for JSON data passing
|
||||
type TextTemplateJson struct {
|
||||
Id int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
@@ -238,3 +240,4 @@ func textTemplateToJson(textTemplate TextTemplate) TextTemplateJson {
|
||||
result.CreateDate = textTemplate.CreatedAt
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user