github.com/amar224/phishing-tool@v0.9.0/models/attachment.go (about) 1 package models 2 3 // Attachment contains the fields and methods for 4 // an email attachment 5 type Attachment struct { 6 Id int64 `json:"-"` 7 TemplateId int64 `json:"-"` 8 Content string `json:"content"` 9 Type string `json:"type"` 10 Name string `json:"name"` 11 }